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

14 lines
270 B
JavaScript

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