quasarframework / vue-cli-plugin-quasar

Quasar Framework Vue CLI plugin
https://quasar.dev
MIT License
68 stars 14 forks source link

vue-cli plugin fails to generate a valid project #36

Closed danieleades closed 4 years ago

danieleades commented 4 years ago

Describe the bug vue-cli plugin fails to generate a valid project

To Reproduce create a new vue project (vue create some-app) with

add quasar (vue add quasar)

run the app (yarn serve --open)

a whole bunch of warnings are generated for each quasar component- "export 'default' (imported as 'Vue') was not found in 'vue'

browser console shows :

QAjaxBar.js?7ea5:79 Uncaught TypeError: Cannot read property 'extend' of undefined
    at eval (QAjaxBar.js?7ea5:79)
    at Module../node_modules/quasar/src/components/ajax-bar/QAjaxBar.js (chunk-vendors.js:3020)
    at __webpack_require__ (app.js:854)
    at fn (app.js:151)
    at eval (index.js?6841:1)
    at Module../node_modules/quasar/src/components/ajax-bar/index.js (chunk-vendors.js:3032)
    at __webpack_require__ (app.js:854)
    at fn (app.js:151)
    at eval (components.js?950e:1)
    at Module../node_modules/quasar/src/components.js (chunk-vendors.js:3008)

Expected behavior page loads

Screenshots If applicable, add screenshots to help explain your problem.

Platform (please complete the following information): OS: ubuntu 20.04 Node: 14.10.0 NPM: NA Yarn: 1.22.5 Browsers: chrome

Additional context may be related to #32, #33

nklayman commented 4 years ago

Quasar does not support Vue 3 yet, so this isn't really an issue with the plugin itself.

danieleades commented 4 years ago

Quasar does not support Vue 3 yet, so this isn't really an issue with the plugin itself.

Yep, I figured this out after playing around a bit. Closing.