Merge pull request 'Add Readme content' (#6) from StupidMalphite/xuos-web:master into master
This commit is contained in:
commit
23880f2916
13
README.md
13
README.md
|
@ -29,6 +29,19 @@ sudo apt update && sudo apt install yarn
|
||||||
|
|
||||||
### 安装vuepress
|
### 安装vuepress
|
||||||
|
|
||||||
|
安装vuepress需要依赖v10.x以上的node.js,在命令行输入以下命令以查看node.js版本
|
||||||
|
|
||||||
|
```
|
||||||
|
nodejs -v
|
||||||
|
```
|
||||||
|
|
||||||
|
如果版本过低导致安装失败,输入以下命令安装新版的node.js,其中版本号14可以根据node.js官网的最新版本更改
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
|
||||||
|
sudo apt-get install -y nodejs
|
||||||
|
```
|
||||||
|
|
||||||
可以为所有项目安装全局的唯一 vuepress
|
可以为所有项目安装全局的唯一 vuepress
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue