mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 12:07:54 +08:00
18 lines
301 B
JavaScript
18 lines
301 B
JavaScript
import 'antd/style.js'
|
|
import './index.less'
|
|
import Vue from 'vue'
|
|
import VueRouter from 'vue-router'
|
|
import routes from './routes'
|
|
import Md from './md'
|
|
Vue.use(VueRouter)
|
|
Vue.component(Md.name, Md)
|
|
|
|
const router = new VueRouter({
|
|
mode: 'history',
|
|
routes,
|
|
})
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
})
|