naive-ui/demo/devIndex.js
2020-02-20 16:26:34 +08:00

15 lines
268 B
JavaScript

import { Vue, router, i18n, hljs } from './init'
import demoRouterView from './demoRouterView'
import NaiveUI from '../src/index'
import '../styles/index.scss'
Vue.use(NaiveUI)
NaiveUI.setHljs(hljs)
new Vue({
...demoRouterView,
i18n,
router
}).$mount('#app')