main.js 806 B

123456789101112131415161718192021222324
  1. import Vue from 'vue'
  2. import App from './App.vue'
  3. import ElementUI from 'element-ui';
  4. import 'element-ui/lib/theme-chalk/index.css';
  5. import router from './router/index.js'
  6. import store from './store/index.js'
  7. import VueResource from 'vue-resource'
  8. import PrettyCheckbox from 'pretty-checkbox-vue';
  9. import VuejsDialog from 'vuejs-dialog';
  10. import VuejsDialogMixin from 'vuejs-dialog/dist/vuejs-dialog-mixin.min.js'; // only needed in custom components
  11. import 'vuejs-dialog/dist/vuejs-dialog.min.css';
  12. Vue.config.productionTip = false
  13. Vue.use(ElementUI);
  14. Vue.use(PrettyCheckbox);
  15. Vue.use(VueResource);
  16. Vue.use(VuejsDialog);
  17. new Vue({
  18. store,
  19. router,
  20. render: h => h(App),
  21. }).$mount('#app')
  22. // 用户:admin 密码:123456
  23. // 用户:test 密码:test
  24. // 用户:lic 密码: lic