vue-cli-plugins icon indicating copy to clipboard operation
vue-cli-plugins copied to clipboard

enabling components to be rendered when starting Template the first time

Open briziel opened this issue 1 year ago • 2 comments

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

briziel avatar Aug 25 '22 13:08 briziel

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.

ElijahKotyluk avatar Aug 25 '22 18:08 ElijahKotyluk

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? :-)

briziel avatar Aug 29 '22 09:08 briziel