vue2单文件在线预览
#!/usr/bin/env sh
set -e
npm run docs:build
cd docs/.vuepress/dist
git init git add -A git commit -m 'deploy'
git push -f [email protected]:tomorrowzjz/my-vue-sfc-dome.git master:gh-pages
npm install
npm run serve
npm run build
npm run lint