Closed num-lock closed 5 years ago
It's not a bug in Vue CLI. It's just how the vuetify plugin's written. https://github.com/vuetifyjs/vue-cli-plugin-vuetify/blob/5985630/generator/index.js
Line 13 imports './plugins/vuetify'
, which transitively imports vuetify.min.css
.
Line 15 imports the two iconfonts.
Ok, so how should this be handled then? The same is true for other dependencies like babel-polyfill
, too. See https://github.com/vuetifyjs/vuetify/issues/4997 where the problem is basically the same, since babel-polyfill
needs to be required as the very first dependency, even before vue
.
Both issues should be taken care of by the plugin author. Please open the issue in the plugin repository.
Version
3.8.3
Environment info
Steps to reproduce
vue create yourapp
,cd yourapp
,vue add vuetify
and chose fontawesome5 instead of Material Icons in the dialog and also chose to include it directly as dependency (offline/electron-like applications)Requires will be in wrong order in
main.js
.What is expected?
What is actually happening?
Related to https://github.com/vuetifyjs/vuetify/issues/7516