How to add Vue3 with Vite
Closed this issue · 2 comments
Borderliner commented
This is not an issue, maybe a suggestion to include a way to add Vue.js to this template (w/ vite) in docs. I have an old Nuxt.js project and would like to migrate. Thanks!
mattbrictson commented
I don't have experience with Vue.js, but I'm open to adding a link to the README if you find a good reference/tutorial.
mattbrictson commented
My guess is that most of the things you'll need to add to Vite to get started with Vue.js can be found here: https://github.com/vitejs/vite/tree/main/packages/create-vite/template-vue
- Install
@vitejs/plugin-vue
and add tovite.config.ts
- Modify
entrypoints/application.js
to import the Vite app, like this