mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-09 04:31:35 +08:00
19 lines
402 B
JavaScript
19 lines
402 B
JavaScript
|
|
import { Vue, router, routes, childRoutes, i18n } from './init'
|
|
import debugRouteMixin from './routes/debugRouteMixin'
|
|
import hljs from './hljs'
|
|
import demoRouterView from './demoRouterView'
|
|
import NaiveUI from '../src/index'
|
|
import '../styles/index.scss'
|
|
|
|
debugRouteMixin(routes, childRoutes)
|
|
|
|
Vue.use(NaiveUI)
|
|
NaiveUI.setHljs(hljs)
|
|
|
|
new Vue({
|
|
...demoRouterView,
|
|
router,
|
|
i18n
|
|
}).$mount('#app')
|