Browse Source

d3ComponentsPath in config

dependabot/npm_and_yarn/webpack-bundle-analyzer-3.6.0
Alexey Velikiy 8 years ago
parent
commit
ec30abbb58
  1. 3
      src/config.json
  2. 2
      src/router/demos.js

3
src/config.json

@ -1,3 +1,4 @@
{ {
"githubLink": "https://github.com/corpglory/d3vue/" "githubLink": "https://github.com/corpglory/d3vue/",
"d3ComponentsPath": "tree/master/src/d3-components"
} }

2
src/router/demos.js

@ -15,7 +15,7 @@ export const routes = [
var res = r; var res = r;
res.href = "#" + r.path; res.href = "#" + r.path;
res.source = config.githubLink + res.source = config.githubLink +
'tree/master/src/d3-components' + config.d3ComponentsPath +
r.path + '.vue' r.path + '.vue'
return res; return res;
}) })

Loading…
Cancel
Save