|
1 |
| -#vue-next-webpack-preview |
| 1 | +#ARCHIVED |
2 | 2 |
|
3 |
| ->Minimal webpack setup for Vue 3 (RC) |
4 |
| -
|
5 |
| -This is for preview purposes. There might be bugs and undocumented behavior differences from v2, which are expected. |
6 |
| - |
7 |
| -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). |
8 |
| - |
9 |
| -Also note that this is for configuration reference only. For real-world projects, it's recommended to use[`vite`](https://github.com/vitejs/vite) or[`@vue/cli`](https://github.com/vuejs/vue-cli). |
10 |
| - |
11 |
| -###Prerequisites |
12 |
| -- Node & NPM |
13 |
| - |
14 |
| -###Install |
15 |
| -```sh |
16 |
| -npm install |
17 |
| -``` |
18 |
| -###Usage |
19 |
| -#####Develop |
20 |
| -```sh |
21 |
| -# run dev server at localhost:8080 |
22 |
| -npm run dev |
23 |
| -``` |
24 |
| -#####Build |
25 |
| -```sh |
26 |
| -# transpile js for deployment |
27 |
| -npm run build |
28 |
| -``` |
| 3 | +To start a Vue 3 project, use[Vite](https://vitejs.dev/) or`vue-cli` (if for some reason you still want to use webpack). |