该脚手架是基于 vuepress
框架搭建,然后使用了 vuepress-theme-reco-cli
主题,对该主题做了一些简单封装,做成了自己的博客项目的脚手架,欢迎交流相互学习。
1.2.0
# show version
npx cym-blog -v
# create
npx cym-blog init my-blog
# or
npm install -g cym-blog
cym-blog init my-blog
# install
cd my-blog
npm install
# run
npm start
# build
npm run build
if yarn
# create
npx my-blog init my-blog
# or
yarn global add my-blog
cym-blog init my-blog
# install
cd my-blog
yarn install
# run
yarn start
# build
yarn build
非脚手架功能,测试使用
# 测试init命令
npm run test:init
# 测试下载功能
npm run test:download
# 测试全部功能
npm run test:all
# 删除测试所下载的文件
npm run rm:all-test
博客模板下载完毕,下载博客依赖的时候推荐使用 yarn 下载
如果您有任何疑问请来这里留言,我将会为您一一解答哦