naive-ui/demo/devIndex.js
songwanli2025@163.com ee6f432e33 modify init
2020-03-13 05:21:12 +08:00

15 lines
271 B
JavaScript

import { Vue, router, i18n, hljs } from './devInit'
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')