app.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * First we will load all of this project's JavaScript dependencies which
  3. * includes Vue and other libraries. It is a great starting point when
  4. * building robust, powerful web applications using Vue and Laravel.
  5. */
  6. // require('./bootstrap');
  7. window.Vue = require('vue');
  8. /**
  9. * Next, we will create a fresh Vue application instance and attach it to
  10. * the page. Then, you may begin adding components to this application
  11. * or customize the JavaScript scaffolding to fit your unique needs.
  12. */
  13. // Vue.component('example', require('./components/Example.vue'));
  14. Vue.component('ue', require('./components/Ueditor.vue'));
  15. Vue.component('ut', require('./components/Test.vue'));
  16. Vue.component('ui-tree', require('./components/Tree.vue'));
  17. Vue.component('ui-linkage', require('./components/UiLinkage.vue'));
  18. Vue.component('ue-one', require('./components/UeditorOne.vue'));
  19. Vue.component('ui-file', require('./components/UiFile.vue'));
  20. Vue.component('ui-img', require('./components/UiImgUpload.vue'));
  21. Vue.component('ui-switch', require('./components/UiSwitch.vue'));
  22. Vue.component('ui-checkbox', require('./components/UiCheckbox.vue'));
  23. Vue.component('ui-radio', require('./components/UiRadio.vue'));
  24. Vue.component('ui-input-number', require('./components/UiInputNumber.vue'));
  25. Vue.component('ui-textarea', require('./components/UiTextarea.vue'));
  26. Vue.component('ui-input-text', require('./components/UiInputText.vue'));
  27. Vue.component('ui-input-select', require('./components/UiInputSelect.vue'));
  28. Vue.component('ui-select', require('./components/UiSelect.vue'));
  29. Vue.component('ui-submit', require('./components/UiSubmit.vue'));
  30. Vue.component('ui-date-time', require('./components/UiDateTime.vue'));
  31. Vue.component('ui-input-float-number', require('./components/UiInputFloatNumber.vue'));
  32. Vue.component('ui-input', require('./components/UiInput.vue'));
  33. Vue.component('ui-captcha', require('./components/admin/captcha.vue'));
  34. Vue.component('ui-start-end-time', require('./components/Ui-Start-End-Time.vue'));
  35. Vue.component('ui-radio-time', require('./components/UiRadioTime.vue'));
  36. Vue.component('ui-permission', require('./components/UiPermission.vue'));
  37. Vue.component('ui-phone', require('./components/UiPhone.vue'));
  38. Vue.component('ui-tree-table', require('./components/TreeTable.vue'));
  39. import ElementUI from 'element-ui';
  40. Vue.use(ElementUI);
  41. import 'element-ui/lib/theme-chalk/index.css';
  42. // import 'babel-polyfill';
  43. // const app = new Vue({
  44. // el: '#app',
  45. // render: h => h(App)
  46. // });