naive-ui/demo/deploymentIndex.js
songwanli2025@163.com 252be024bd modify(devIndex)
2020-03-20 17:39:00 +08:00

19 lines
408 B
JavaScript

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