Skip to content

Commit

Permalink
chore: add gh-pages command and rebuild demo
Browse files Browse the repository at this point in the history
  • Loading branch information
francecil committed Aug 21, 2019
1 parent 062964e commit 4ea98a6
Show file tree
Hide file tree
Showing 11 changed files with 127 additions and 13 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -81,4 +81,6 @@ npm start
npm run build:demo
# 源码打包,生成lib目录
npm run build:lib
# 发布gh-pages
npm run ghpages
```
5 changes: 5 additions & 0 deletions build/gh-pages.js
@@ -0,0 +1,5 @@
const ghpages = require("gh-pages");

ghpages.publish("dist", err => {
err && console.log(err);
});

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.html
@@ -1 +1 @@
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>vue-demo</title><link href=js/about.620dd1e4.js rel=prefetch><link href=css/index.1ca1d211.css rel=preload as=style><link href=js/chunk-vendors.eeab53a3.js rel=preload as=script><link href=js/index.ee2166f1.js rel=preload as=script><link href=css/index.1ca1d211.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.eeab53a3.js></script><script src=js/index.ee2166f1.js></script></body></html>
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=favicon.ico><title>vue-demo</title><link href=js/about.92c642ad.js rel=prefetch><link href=css/index.36649347.css rel=preload as=style><link href=js/chunk-vendors.eeab53a3.js rel=preload as=script><link href=js/index.40db970d.js rel=preload as=script><link href=css/index.36649347.css rel=stylesheet></head><body><noscript><strong>We're sorry but vue-demo doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.eeab53a3.js></script><script src=js/index.40db970d.js></script></body></html>
2 changes: 1 addition & 1 deletion dist/js/about.620dd1e4.js → dist/js/about.92c642ad.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/js/index.ee2166f1.js → dist/js/index.40db970d.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/js/index.40db970d.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion dist/js/index.ee2166f1.js.map

This file was deleted.

0 comments on commit 4ea98a6

Please sign in to comment.