vue_ts Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for production npm run build Lints and fixes files npm run lint Customize configuration See Configuration Reference. 打包 npm run build cd dist // 进入到你的打包生成的文件夹中 git add -A git commit -m 'deploy' git push -f 你的github仓库地址 master:gh-pages