vuetifyjs / vue-cli-plugins

🔌 A collection of Vuetify plugins for Vue CLI
https://vuetifyjs.com/en/getting-started/quick-start#vue-cli-3
Other
427 stars 113 forks source link

enabling components to be rendered when starting Template the first time #334

Open briziel opened 2 years ago

briziel commented 2 years ago

I noticed that when I first start the template for Vite, no components are displayed. These lines have fixed the problem. Hope this helps.

ElijahKotyluk commented 2 years ago

You shouldn't need to import components or directives when using the Vite plugin. Would you be able to push up a sample repo I can take a look at and let me know environment details and the steps you took so that I can reproduce this on my end.

briziel commented 2 years ago

hey, i think a sample repo shouldn't be neccessary. I just follow the steps of this guide https://next.vuetifyjs.com/en/getting-started/installation/#vue-cli

My NPM Version is 8.12.2.

Steps to reproduce:

npm create vite@latest my-vue-app -- --template vue
cd my-vuetify-app
vue add vuetify

---> Vuetify 3 - Vite (preview)

After starting. The application looks like this. Bildschirmfoto 2022-08-29 um 11 11 49

in my opinion, there shouldn't further code modifications after running the starter to have a components included application. So is there a reason to let the starters user decide whether they to import them manually or just include them via the preinstalled vite plugin? :-)