1 | import Vue from 'vue'
|
2 |
|
3 | import App from './App'
|
4 | import VueForm from '../dist/vueform'
|
5 | import router from './router'
|
6 |
|
7 | Vue.use(VueForm)
|
8 |
|
9 | const wfLoadinginterval = setInterval(() => {
|
10 | if (document.documentElement.className.indexOf('wf-active') !== -1) {
|
11 | clearInterval(wfLoadinginterval)
|
12 | /* eslint-disable no-new */
|
13 | new Vue({ el: '#app', router, render: h => h(App) })
|
14 | }
|
15 | })
|