File tree Expand file tree Collapse file tree 3 files changed +31
-1
lines changed
Expand file tree Collapse file tree 3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change 1+ #! /usr/bin/env sh
2+
3+ # abort on errors
4+ set -e
5+
6+ # build
7+ npm run build
8+
9+ # navigate into the build output directory
10+ cd dist
11+
12+ # if you are deploying to a custom domain
13+ # echo 'www.example.com' > CNAME
14+
15+ git init
16+ git add -A
17+ git commit -m ' deploy'
18+
19+ # if you are deploying to https://vue-generators.github.io
20+ # git push -f [email protected] :vue-generators/vue-generators.github.io.git master21+
22+ # if you are deploying to https://vue-generators.github.io/vue-form-generator-demo
23+ git push -f
[email protected] :vue-generators/vue-form-generator-demo.git master:gh-pages
24+
25+ cd -
Original file line number Diff line number Diff line change 88 "lint" : " vue-cli-service lint"
99 },
1010 "license" : " MIT" ,
11+ "files" : [
12+ " dist" ,
13+ " src"
14+ ],
15+ "main" : " src/examples/index.js" ,
1116 "dependencies" : {
1217 "fakerator" : " 0.3.0" ,
1318 "fecha" : " 2.3.3" ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const generateDevProjects = () => {
2020} ;
2121
2222module . exports = {
23- baseUrl : process . env . NODE_ENV === "production" ? "/my-project /" : "/" ,
23+ baseUrl : process . env . NODE_ENV === "production" ? "/vue-form-generator-demo /" : "/" ,
2424 lintOnSave : true ,
2525 runtimeCompiler : false ,
2626 productionSourceMap : false ,
You can’t perform that action at this time.
0 commit comments