naive-ui/demo/devIndex.js

15 lines
271 B
JavaScript
Raw Normal View History

2020-03-13 05:21:12 +08:00
import { Vue, router, i18n, hljs } from './devInit'
import demoRouterView from './demoRouterView'
2020-02-12 13:44:53 +08:00
import NaiveUI from '../src/index'
2020-02-11 20:24:56 +08:00
import '../styles/index.scss'
2020-02-12 13:44:53 +08:00
Vue.use(NaiveUI)
NaiveUI.setHljs(hljs)
2019-06-26 20:16:11 +08:00
new Vue({
...demoRouterView,
2019-09-21 17:03:37 +08:00
i18n,
router
2019-06-26 20:16:11 +08:00
}).$mount('#app')