Skip to content

ssthouse/vue-d3-template

Repository files navigation

vue-d3-template

A template project for using Vue with D3.js
Can be easily served on github.io page with npm run build (of course the github page should be enabled : )

Pros

  • 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

How to use

  • clone the repository
  • edit /src/components/Root.vue to start your coding

Build Setup

# 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.

About

A template project for using Vue with D3.js (easy serve on github.io)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published