39 lines
851 B
Markdown
39 lines
851 B
Markdown
# vue
|
|
|
|
+ [MVVM理念](https://gitee.com/infraboard/go-course/blob/master/day20/vue-base.md#vue%E5%85%A5%E9%97%A8%E5%9F%BA%E7%A1%80)
|
|
+ [Vue3]()
|
|
|
|
```sh
|
|
yrm add tn https://registry.npmmirror.com/
|
|
yrm use tn
|
|
|
|
yrm ls
|
|
npm ---- https://registry.npmjs.org/
|
|
cnpm --- http://r.cnpmjs.org/
|
|
taobao - https://registry.npm.taobao.org/
|
|
nj ----- https://registry.nodejitsu.com/
|
|
rednpm - http://registry.mirror.cqupt.edu.cn/
|
|
npmMirror https://skimdb.npmjs.com/registry/
|
|
edunpm - http://registry.enpmjs.org/
|
|
yarn --- https://registry.yarnpkg.com
|
|
* tn ----- https://registry.npmmirror.com/
|
|
```
|
|
|
|
|
|
## 环境
|
|
|
|
插件安装:
|
|
```sh
|
|
vscode 插件
|
|
Beautify: js, css, html 语法高亮差距
|
|
ESLint: js eslint语法风格检查
|
|
Auto Rename Tag: tag rename
|
|
Vetur: vue语法高亮插架
|
|
```
|
|
|
|
使用vue脚手架
|
|
```sh
|
|
$ cd vue3-demo
|
|
$ npm install
|
|
$ npm run dev
|
|
``` |