commit | f2ae8ccd9f82e72bbee8af76462330294cc38267 | [log] [tgz] |
---|---|---|
author | plainheart <yhen@all-my-life.cn> | Sat Apr 23 21:45:59 2022 +0800 |
committer | plainheart <yhen@all-my-life.cn> | Sat Apr 23 21:46:16 2022 +0800 |
tree | 3c2347101595c5451f5edf87a4f3e5bc0bfa621b | |
parent | 58bdf2c8fdb7f442605713756a5662f8e4f153fe [diff] |
fix(pwa): improve pwa config
Clone this project, alone with echarts, echarts-www, echarts-examples, echarts-doc under the same directory.
Edit echarts-www/config/env.debug.js
and echarts-examples/config/env.debug.js
. Change host
to be the path to local debug server and examples.
For example, if you use http-server to start a server http://127.0.0.1:8080
under echarts-website
directory, host
in the two projects should be http://127.0.0.1:8080
and http://127.0.0.1:8080/examples
accordingly.
Run gulp release --dev
under echarts-examples
.
Run sh release.sh
under echarts-doc
.
Run gulp release --dev
under echarts-www
.
Run a server under echarts-website
directory and test.
Check the “echarts release guide” please.