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

vuetify template "feat(preview): Vuetify 3 + Vite preset" inserts wrong index.html for typescript #279

Closed vinerich closed 3 years ago

vinerich commented 3 years ago

Hey there folks,

the Vuetify 3 + Vite preset always adds a default /src/index.html with a line containing the main entrypoint <script type="module" src="/src/main.js"></script>.

If the basic vue application is build using typescript, the script tag needs to point to <script type="module" src="/src/main.ts"></script> for Vite to work.

If I should provide a repro example just let me know. Didn't think it will be of much use here.

Thanks for the great work!