2019-06-03 13:47:12 +08:00
|
|
|
|
2020-02-12 13:44:53 +08:00
|
|
|
import { Vue, router, i18n, hljs } from './init'
|
2020-01-18 13:33:57 +08:00
|
|
|
import demoRouterView from './demoRouterView'
|
2020-02-12 13:44:53 +08:00
|
|
|
import NaiveUI from '../src/index'
|
2020-02-11 20:24:56 +08:00
|
|
|
import '../styles/index.scss'
|
2019-06-03 13:47:12 +08:00
|
|
|
|
2020-02-12 13:44:53 +08:00
|
|
|
Vue.use(NaiveUI)
|
|
|
|
NaiveUI.setHljs(hljs)
|
|
|
|
|
2019-06-26 20:16:11 +08:00
|
|
|
new Vue({
|
2020-01-18 13:33:57 +08:00
|
|
|
...demoRouterView,
|
2019-09-21 17:03:37 +08:00
|
|
|
i18n,
|
2019-06-03 13:47:12 +08:00
|
|
|
router
|
2019-06-26 20:16:11 +08:00
|
|
|
}).$mount('#app')
|