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

    Maybe I'm asking something dumb...

    Help
    2
    5
    347
    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
      tarkhil last edited by

      Hello

      I’m working on a backend-heavy application, with more or less stable backend code.

      I need to rewrite my old frontend scripts, written without much knowledge of JS at all. I’ve choose Quasar because of it’s rich set of controls and layouts, since Bootstrap (I’ve used Bootstrap 3) is sometimes a hardly readable mess of divs.

      As far as I can understand, quasar-cli does not support setup with multiple entry points; so I’ve installed vue, configured webpack, added quasar plugin… and could not make it working for several days. I’ve spent some time setting up webpack, but ended up with warning in auto-generated code and runtime error

      vue.runtime.esm.js:5096 Uncaught TypeError: Cannot read property 'install' of undefined
          at Function.Vue.use (vue.runtime.esm.js:5096)
          at eval (quasar.js:18)
          at Object../src/quasar.js (index.js:5874)
          at __webpack_require__ (index.js:5897)
          at eval (main.ts:5)
          at Object../src/main.ts (index.js:5625)
          at __webpack_require__ (index.js:5897)
          at index.js:5959
          at index.js:5961
      

      Maybe I’ve made something wrong with webpack.conf.js? Or should I use UMD version?

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

        @tarkhil said in Maybe I'm asking something dumb...:

        quasar-cli does not support setup with multiple entry points

        multiple entry points? What do you mean?

        Creating a vue/quasar app without basis ES6 JS an Vue knowledge is not recommended.

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

          I do have some basic knowledge of them. Maybe I do not know right term - ok, how is called a web site with multiple pages with different apps on each?

          dobbel 2 Replies Last reply Reply Quote 0
          • dobbel
            dobbel @tarkhil last edited by

            @tarkhil

            Well I can only tell you most people here( including me) never used Vue CLI for their quasar apps.

            I presume you followed this:
            https://quasar.dev/start/vue-cli-plugin#Introduction

            So if you follow this recipe to the letter then you do not get a ‘hello world’ app running?

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

              @tarkhil

              Here’s a thread about multiple entry points and a few suggestions how to simulate in Quasar CLI mode.

              https://forum.quasar-framework.org/topic/4139/multiple-entry-points

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