Minimal webpack setup for Vue 3 (RC)
This is for preview purposes. There might be bugs and undocumented behavior differences from v2, which are expected.
If you are using VSCode, Vetur isn't updated to take advantage of Vue 3's typing yet so intellisense in Vue files may not be fully functional (especially in templates).
Also note that this is for configuration reference only. For real-world projects, it's recommended to use vite
or @vue/cli
.
- Node & NPM
npm install
# run dev server at localhost:8080
npm run dev
# transpile js for deployment
npm run build