D3.js vs Vue.js examples
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
481 B

const config = require('config.json');
8 years ago
export const routes = [
{
name: 'Circle mount',
8 years ago
path: '/circle-mount',
component: require('d3-components/circle-mount')
},
{
8 years ago
name: 'Size controller',
path: '/size-controller',
component: require('d3-components/size-controller')
8 years ago
}
].map(r => {
var res = r;
res.href = "#" + r.path;
res.source = config.githubLink +
config.d3ComponentsPath +
r.path + '.vue'
return res;
})