VuePress可以帮你快速建站,使用MarkDown语法生成静态html

yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_10.x | sudo -E bash -
sudo yum install -y nodejs
#安装yarn包管理器
npm install yarn -g
#安装vuepress
yarn global add vuepress 或者 npm install -g vuepress
#编写内容
echo '# Hello VuePress!' > README.md
#构建web页面
vuepress dev .
#发布静态页
vuepress build .

参考来源:

https://vuepress.vuejs.org/zh/

https://tecadmin.net/install-latest-nodejs-and-npm-on-centos/

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-04
  • 2021-06-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-12-16
  • 2021-12-13
  • 2022-03-01
  • 2021-11-15
  • 2021-08-21
  • 2022-02-01
相关资源
相似解决方案