运行本项目,需要全局安装VuePress:
# 安装
yarn global add vuepress # 或者:npm install -g vuepress
# 新建一个 markdown 文件
echo '# Hello VuePress!' > README.md
# 开始写作
vuepress dev
# 构建静态文件
vuepress build
构建完成之后上传到github就可以了。
如果你也想成为贡献者,清前往GitHub practical-code-snippet/issues提交你的代码。
贡献者前5位(非固定,按贡献度排行)可享受将自己的博客链接放在导航栏的博客栏目中。
源文档(.md
文件)目录与https://fxss5201.github.io/practical-code-snippet/中的导航栏保持一致。