Merge pull request 'Add Readme content' (#6) from StupidMalphite/xuos-web:master into master

This commit is contained in:
caodg 2021-04-29 10:59:32 +08:00
commit 23880f2916
1 changed files with 13 additions and 0 deletions

View File

@ -29,6 +29,19 @@ sudo apt update && sudo apt install yarn
### 安装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
```bash