File tree 3 files changed +9
-5
lines changed
3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ export default defineConfig({
4
4
mode : 'site' ,
5
5
title : '\b' ,
6
6
base : '/' ,
7
- publicPath : process . env . NODE_ENV === 'production' ? '/echarts-for-react/' : '/' ,
8
7
exportStatic : { } ,
8
+ publicPath : process . env . NODE_ENV === 'production' ? '/echarts-for-react/' : '/' ,
9
+ base : process . env . NODE_ENV === 'production' ? '/echarts-for-react/' : '/' ,
9
10
logo : 'https://cdn.jsdelivr.net/gh/apache/echarts-website@asf-site/zh/images/logo.png?_v_=20200710_1' ,
10
11
styles : [
11
12
'.__dumi-default-navbar-logo:not([data-plaintext]) { padding-left: 200px!important; }' ,
@@ -14,6 +15,7 @@ export default defineConfig({
14
15
] ,
15
16
navs : [
16
17
null ,
18
+ { title : 'G2Plot' , path : 'https://github.com/antvis/G2Plot' } ,
17
19
{ title : '在线文档' , path : 'https://github.com/hustcc/echarts-for-react' } ,
18
20
{ title : 'GitHub' , path : 'https://github.com/hustcc/echarts-for-react' } ,
19
21
] ,
Original file line number Diff line number Diff line change 5
5
title : ECharts for React
6
6
desc : 全网最好用的 ECharts 的 React 组件封装
7
7
actions :
8
- - text : 查看在线 DEMO
8
+ - text : 在线实例
9
9
link : /examples/dynamic
10
+ - text : 开源地址
11
+ link : https://github.com/hustcc/echarts-for-react
10
12
footer : Open-source MIT Licensed | Copyright © 2021-present
11
13
---
12
14
Original file line number Diff line number Diff line change 11
11
" src"
12
12
],
13
13
"scripts" : {
14
- "docs:dev" : " dumi dev" ,
15
- "docs:build" : " dumi build" ,
14
+ "docs:dev" : " NODE_ENV=development dumi dev" ,
15
+ "docs:build" : " NODE_ENV=production dumi build" ,
16
16
"docs:deploy" : " rimraf dist && npm run docs:build && gh-pages -d dist" ,
17
- "start" : " webpack-dev-server --watch " ,
17
+ "start" : " npm run docs:dev " ,
18
18
"lint" : " eslint src __tests__ && prettier src __tests__ --check" ,
19
19
"fix" : " eslint src __tests__ --fix && prettier src __tests__ --write" ,
20
20
"clean" : " rimraf lib esm dist" ,
You can’t perform that action at this time.
0 commit comments