remove sh tag
Former-commit-id: 1cb83ad52897347a3dfb41a91ec0122bdd43033c [formerly 1cb83ad52897347a3dfb41a91ec0122bdd43033c [formerly 1cb83ad52897347a3dfb41a91ec0122bdd43033c [formerly 1cb83ad52897347a3dfb41a91ec0122bdd43033c [formerly 28cd535aad5352229d28654ab0abdb8601880de4 [formerly 17a9d6c5c3baaa2c8fa0eb83aa17579612b0d7d1]]]]] Former-commit-id: 5e4a2a5d02c4251c4703007082e32fa22c11ded8 Former-commit-id: ab8e5c39c1843c67b0adb02b1eb14fce4ddf9101 Former-commit-id: f3e02381bff008202042d52741f6eebd87c02285 [formerly 3844f9ed7d6fc0ac6fee980a575c524446aca83d] Former-commit-id: e9ba5dcb11d2339392efbe73c47124f439e1d70e Former-commit-id: 80fcea94cfbb0e3cea9110285a124dd78a5fbe59 Former-commit-id: f888c41764797e011c1e596431a3ad02fdeeb2dc Former-commit-id: 8afb64d1c6f985fdd178bac3001458c0432bfe16 Former-commit-id: 6cfc57a0fea3a0dca60bdad8c241b989f79a0a78
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
|
||||
安装完毕后检查版本(最好使用 node 8 版本)。
|
||||
|
||||
``` sh
|
||||
```
|
||||
node -v
|
||||
v8.11.1
|
||||
npm -v
|
||||
@@ -77,13 +77,13 @@ npm -v
|
||||
|
||||
安装:
|
||||
|
||||
``` sh
|
||||
```
|
||||
npm install -g nrm
|
||||
```
|
||||
|
||||
查看所有可用源:
|
||||
|
||||
``` sh
|
||||
```
|
||||
nrm ls
|
||||
* npm ----- https://registry.npmjs.org/
|
||||
cnpm ---- http://r.cnpmjs.org/
|
||||
@@ -95,7 +95,7 @@ nrm ls
|
||||
|
||||
切换源:
|
||||
|
||||
``` sh
|
||||
```
|
||||
nrm use taobao
|
||||
```
|
||||
|
||||
@@ -103,7 +103,7 @@ nrm use taobao
|
||||
|
||||
安装:
|
||||
|
||||
``` sh
|
||||
```
|
||||
npm install -g cnpm --registry=https://registry.npm.taobao.org
|
||||
```
|
||||
|
||||
@@ -111,7 +111,7 @@ npm install -g cnpm --registry=https://registry.npm.taobao.org
|
||||
|
||||
将终端切换到项目目录之后安装依赖:
|
||||
|
||||
``` sh
|
||||
```
|
||||
npm i
|
||||
```
|
||||
|
||||
@@ -121,19 +121,19 @@ npm i
|
||||
|
||||
在项目目录内启动项目:
|
||||
|
||||
``` sh
|
||||
```
|
||||
npm run dev
|
||||
```
|
||||
|
||||
或者使用:
|
||||
|
||||
``` sh
|
||||
```
|
||||
npm start
|
||||
```
|
||||
|
||||
也可以使用 cli3 新推荐的命令:
|
||||
|
||||
``` sh
|
||||
```
|
||||
npm run serve
|
||||
```
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
60313ac9834bcc8639358f7a6672dcfb18a3ec40
|
||||
532775ff4f2aa6aa090e14f5d53c5d59bd7d960e
|
||||
Reference in New Issue
Block a user