A template project for using Vue with D3.js
Can be easily served ongithub.io
page withnpm run build
(of course the github page should be enabled : )
- the d3 has been registered in Vue and can be accessed by
this.$d3
- can easily share with github pages
- ES6 with
Babel
- hot reload with
Webpack
- clone the repository
- edit /src/components/Root.vue to start your coding
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
For a detailed explanation on how things work, check out the guide and docs for vue-loader.