[Vuejs]-Vue3/Quasar. 'q-' custom elements aren't recognized as quasar's elements

0👍

For the future generations

The issue is in vue/cli. Vue/cli is in the maintenance mode and it was replaced by Vite and apparently something inside vue/cli not supporting something in the new libs.

To upgrade from vue/cli to vite these are helpful manuals:

https://medium.com/nerd-for-tech/from-vue-cli-to-vitejs-648d2f5e031d
(note WebStorm hack for @ aliases)

https://vueschool.io/articles/vuejs-tutorials/how-to-migrate-from-vue-cli-to-vite/

Also note that Vite doesn’t support require('path' / 'module'), only import

Leave a comment