You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
734 B

  1. /* eslint-disable import/first */
  2. import Vue from 'vue'
  3. import Vuetify from 'vuetify'
  4. import VeeValidate from 'vee-validate'
  5. import boot from './modules/boot'
  6. /* eslint-enable import/first */
  7. window.WIKI = null
  8. window.boot = boot
  9. Vue.use(Vuetify)
  10. Vue.use(VeeValidate, { events: '' })
  11. Vue.component('setup', () => import(/* webpackMode: "eager" */ './components/setup.vue'))
  12. let bootstrap = () => {
  13. window.WIKI = new Vue({
  14. el: '#root'
  15. })
  16. // ====================================
  17. // Load Icons
  18. // ====================================
  19. import(/* webpackChunkName: "icons" */ './svg/icons.svg').then(icons => {
  20. document.body.insertAdjacentHTML('beforeend', icons.default)
  21. })
  22. }
  23. window.boot.onDOMReady(bootstrap)