No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Embed Quasar App as a Widget in an external customer site

    Framework
    2
    2
    959
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      aweston5 last edited by

      I would like to use Quasar to give people an embeddable widget they can add to their site.
      Is there a way to get the dist down to a singe .js file? and .css file?

      I have read this article and it seems possible with Vue …
      Vuidget — How to create an embeddable Vue.js widget with vue-custom-element

      Not sure where I would put the webpack options in quasar, would it go in here?

      quasar.config.js
      …
      build: { 
          extendWebpac(cfg) {
          ???
          }
      }
      

      I guess I could also put my quasar app into an iframe and serve it that way too … not sure I like that.
      Thanks
      –Andy

      1 Reply Last reply Reply Quote 0
      • M
        mKomo last edited by mKomo

        Hi, not sure if this fits your needs, but you can deploy your Quasar app and people can embed it using an iframe tag

        ex: <iframe url="<url to your widget>"> </iframe>

        see W3C docs

        1 Reply Last reply Reply Quote 0
        • First post
          Last post