Open hhstore opened 5 years ago
教程:
部署说明:
theme 插件:
部署说明:
Node> = 8.x
和 Yarn> = 1.5
。# 安装node:
brew install node
# 版本: v8.15.0
node -v
# 安装yarn:
npm install yarn
# 创建demo目录:
mkdir demo
cd demo/
# 安装项目初始化脚手架:
npx docusaurus-init
# demo/
# 重命名:
mv docs-examples-from-docusaurus docs
# 切换到内容目录:
cd website/
# demo/website/
# 重命名:
mv blog-examples-from-docusaurus blog
# demo/website/
# 启动:
yarn start
http://localhost:3000
yarn run version 1.0.0
related:
332