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

[Feature Request] Avoid setting src="/src/main.js" for vite TypeScript project #317

Closed YipingRuan closed 2 years ago

YipingRuan commented 2 years ago

Problem to solve

After running vue add vuetify and choose Vite Preview (Vuetify 3 + Vite), the index.html script src is set to main.js, which is not suitable for Typescript project.

image

Proposed solution

Any method that we can prepare the demo index.html correctly?

ElijahKotyluk commented 2 years ago

There is already a PR up that addresses this, the issue comes from the way typescript was being detected in the project.

YipingRuan commented 2 years ago

https://github.com/vuetifyjs/vue-cli-plugins/pull/316