forked from ssthouse/github-visualization
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
29 lines (27 loc) · 763 Bytes
/
Copy pathmain.js
File metadata and controls
29 lines (27 loc) · 763 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import 'vuetify/dist/vuetify.min.css'
import Vuetify from 'vuetify'
import VueResource from 'vue-resource'
import store from './store/index'
import HTTP from './plugin/axios'
import * as d3 from 'd3'
import leancloud from './components/dao/leancloud'
Vue.use(VueResource)
Vue.use(Vuetify)
Vue.config.productionTip = false
Vue.prototype.$axios = HTTP
Vue.prototype.$d3 = d3
Vue.prototype.$leancloud = leancloud
leancloud.init()
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
store,
components: { App },
template: '<App/>'
})