Skip to content
This repository was archived by the owner on May 8, 2025. It is now read-only.

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

briziel
Copy link

@briziel briziel commented Aug 25, 2022

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

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
Copy link
Contributor

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
Copy link
Author

briziel commented Aug 29, 2022

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants