Maybe I'm asking something dumb...



  • 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?



  • @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.



  • 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?



  • @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?



  • @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


Log in to reply