ant-design-vue/site/index.js

30 lines
725 B
JavaScript
Raw Normal View History

2018-05-02 01:59:42 +00:00
import 'babel-polyfill'
2018-04-04 10:39:21 +00:00
import '../components/style.js'
import './index.less'
import 'highlight.js/styles/solarized-light.css'
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueClipboard from 'vue-clipboard2'
import routes from './routes'
import Md from './components/md'
import Api from './components/api'
2018-04-08 13:17:20 +00:00
import './components'
2018-04-04 10:39:21 +00:00
import demoBox from './components/demoBox'
2018-05-08 03:20:07 +00:00
import demoContainer from './components/demoContainer'
2018-04-04 10:39:21 +00:00
Vue.use(VueClipboard)
Vue.use(VueRouter)
Vue.component(Md.name, Md)
Vue.component(Api.name, Api)
Vue.component('demo-box', demoBox)
2018-05-08 03:20:07 +00:00
Vue.component('demo-container', demoContainer)
2018-04-04 10:39:21 +00:00
const router = new VueRouter({
mode: 'history',
routes,
})
new Vue({
el: '#app',
router,
})