We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6fc388 commit a4c11d9Copy full SHA for a4c11d9
deploy.sh
@@ -0,0 +1,13 @@
1
+#!/bin/sh
2
+# build
3
+npm run build
4
+
5
+# cd to dist folder
6
+cd dist
7
8
+# push code to gh-pages branch
9
+git init
10
+git add .
11
+git commit -m "gh-pages"
12
13
+git push -f git@github.com:qiaoxun/vue-formbuilder.git master:gh-pages
vue.config.js
@@ -0,0 +1,3 @@
+module.exports = {
+ publicPath: process.env.NODE_ENV === "production" ? "./" : "/"
+};
0 commit comments