diff --git a/src/d3-components/1-circle-mount.vue b/src/d3-components/1-circle-mount.vue deleted file mode 100644 index 75e0656..0000000 --- a/src/d3-components/1-circle-mount.vue +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/src/d3-components/2-rect-render.vue b/src/d3-components/2-rect-render.vue deleted file mode 100644 index bd7653c..0000000 --- a/src/d3-components/2-rect-render.vue +++ /dev/null @@ -1,25 +0,0 @@ - - - - - diff --git a/src/d3-components/circle-mount.vue b/src/d3-components/circle-mount.vue new file mode 100644 index 0000000..1f15fc5 --- /dev/null +++ b/src/d3-components/circle-mount.vue @@ -0,0 +1,30 @@ + + + + + + + diff --git a/src/d3-components/size-controller.vue b/src/d3-components/size-controller.vue new file mode 100644 index 0000000..f0474b2 --- /dev/null +++ b/src/d3-components/size-controller.vue @@ -0,0 +1,49 @@ + + + + + + + diff --git a/src/router/demos.js b/src/router/demos.js index b67dc4f..e05f67d 100644 --- a/src/router/demos.js +++ b/src/router/demos.js @@ -3,13 +3,13 @@ const config = require('config.json'); export const routes = [ { name: 'Circle mount', - path: '/1-circle-mount', - component: require('d3-components/1-circle-mount') + path: '/circle-mount', + component: require('d3-components/circle-mount') }, { - name: 'Rect render', - path: '/2-rect-render', - component: require('d3-components/2-rect-render') + name: 'Size controller', + path: '/size-controller', + component: require('d3-components/size-controller') } ].map(r => { var res = r;