mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
21 lines
488 B
JavaScript
21 lines
488 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 '../lib/styles/fonts/Lato.css'
|
|
import '../lib/styles/fonts/FiraCode.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')
|