|
|
|
|
@ -3,3 +3,45 @@
|
|
|
|
|
[Home](../../README.md)
|
|
|
|
|
|
|
|
|
|
[Reference](https://vuejs.org/)
|
|
|
|
|
|
|
|
|
|
Boostrap a project. Select the default
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
$ vue create myapp-vue
|
|
|
|
|
|
|
|
|
|
Vue CLI v4.5.9
|
|
|
|
|
┌──────────────────────────────────────────┐
|
|
|
|
|
│ │
|
|
|
|
|
│ New version available 4.5.9 → 4.5.10 │
|
|
|
|
|
│ Run npm i -g @vue/cli to update! │
|
|
|
|
|
│ │
|
|
|
|
|
└──────────────────────────────────────────┘
|
|
|
|
|
|
|
|
|
|
? Please pick a preset: (Use arrow keys)
|
|
|
|
|
> Default ([Vue 2] babel, eslint)
|
|
|
|
|
Default (Vue 3 Preview) ([Vue 3] babel, eslint)
|
|
|
|
|
Manually select features
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Run the server
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
|
$ cd myapp-vue
|
|
|
|
|
$ npm run serve
|
|
|
|
|
|
|
|
|
|
DONE Compiled successfully in 2691ms 4:51:22 PM
|
|
|
|
|
|
|
|
|
|
App running at:
|
|
|
|
|
- Local: http://localhost:8080/
|
|
|
|
|
- Network: http://192.168.0.132:8080/
|
|
|
|
|
|
|
|
|
|
Note that the development build is not optimized.
|
|
|
|
|
To create a production build, run npm run build.
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Browse [localhost](http://localhost:8080). You should see Vue page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|