Closed YipingRuan closed 2 years ago
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.
vue add vuetify
Vite Preview (Vuetify 3 + Vite)
index.html
main.js
Any method that we can prepare the demo index.html correctly?
There is already a PR up that addresses this, the issue comes from the way typescript was being detected in the project.
https://github.com/vuetifyjs/vue-cli-plugins/pull/316
Problem to solve
After running
vue add vuetify
and chooseVite Preview (Vuetify 3 + Vite)
, theindex.html
script src is set tomain.js
, which is not suitable for Typescript project.Proposed solution
Any method that we can prepare the demo
index.html
correctly?