naive-ui/demo/deploymentIndex.js

15 lines
302 B
JavaScript
Raw Normal View History

2020-02-12 13:44:53 +08:00
import { Vue, router, i18n, hljs } from './init'
2020-02-11 20:24:56 +08:00
import demoRouterView from './demoRouterView'
2020-02-12 13:44:53 +08:00
import NaiveUI from '../lib/index'
2020-02-11 20:24:56 +08:00
import '../lib/styles/index.css'
import './styles/markdown.scss'
2020-02-12 13:44:53 +08:00
Vue.use(NaiveUI)
NaiveUI.setHljs(hljs)
2020-02-11 20:24:56 +08:00
new Vue({
...demoRouterView,
i18n,
router
}).$mount('#app')