File tree 3 files changed +31
-1
lines changed
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 git@github.com:vue-generators/vue-generators.github.io.git master
21
+
22
+ # if you are deploying to https://vue-generators.github.io/vue-form-generator-demo
23
+ git push -f git@github.com:vue-generators/vue-form-generator-demo.git master:gh-pages
24
+
25
+ cd -
Original file line number Diff line number Diff line change 8
8
"lint" : " vue-cli-service lint"
9
9
},
10
10
"license" : " MIT" ,
11
+ "files" : [
12
+ " dist" ,
13
+ " src"
14
+ ],
15
+ "main" : " src/examples/index.js" ,
11
16
"dependencies" : {
12
17
"fakerator" : " 0.3.0" ,
13
18
"fecha" : " 2.3.3" ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ const generateDevProjects = () => {
20
20
} ;
21
21
22
22
module . exports = {
23
- baseUrl : process . env . NODE_ENV === "production" ? "/my-project /" : "/" ,
23
+ baseUrl : process . env . NODE_ENV === "production" ? "/vue-form-generator-demo /" : "/" ,
24
24
lintOnSave : true ,
25
25
runtimeCompiler : false ,
26
26
productionSourceMap : false ,
You can’t perform that action at this time.
0 commit comments