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

    App and web compoenent (or widget ?)

    Help
    2
    4
    40
    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.
    • T
      Tid last edited by Tid

      Hello, i’ ve an functionnal app, but but i would display on some sites like a widget or component (it’s a php site) router-view(with principals view) on some paths but a menu (html)with some app’s component, is it possible ? and howto do?

      I’ve do that with vuejs alone) but i don’t know howto do with quasar

      Thank you

      1 Reply Last reply Reply Quote 0
      • dobbel
        dobbel last edited by

        https://quasar.dev/start/umd#Installation

        1 Reply Last reply Reply Quote 0
        • T
          Tid last edited by Tid

          Yes i see that, but my app is already build, i can load JS and load with vuejs my components? I test this :

          change index.template with :

          <body ><div id="q-app"></div><widget></widget></div>
              <!-- DO NOT touch the following DIV -->
              <script>
                /*
                  Example kicking off the UI. Obviously, adapt this to your specific needs.
                  Assumes you have a <div id="q-app"></div> in your <body> above
                 */
                import WidgetPanier from 'components/All/Widget'
                new Vue({
                  el: '#q-app',
                  data: function () {
                    return {}
                  },
                  components: {},
                  Widget
                })
              </script>
            </body>
          

          but My App is loaded… and my widget no…

          1 Reply Last reply Reply Quote 0
          • dobbel
            dobbel last edited by

            I never did a umd project myself. So I can’t do more than point you to docs and examples

            https://github.com/quasarframework/quasar-starter-kit-umd

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