健康同学微信公众号h5项目
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

31 lines
708B

  1. // 兼容 IE
  2. // https://github.com/zloirock/core-js/blob/master/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md#babelpolyfill
  3. import 'core-js/stable';
  4. import 'regenerator-runtime/runtime';
  5. import Vue from 'vue';
  6. import App from './App.vue';
  7. import router from './router';
  8. import store from './store';
  9. // 设置 js中可以访问 $cdn
  10. import { $cdn } from '@/config';
  11. Vue.prototype.$cdn = $cdn;
  12. // 全局引入按需引入UI库 vant
  13. import '@/plugins/vant';
  14. // 引入全局样式
  15. import '@/assets/css/index.scss';
  16. // 移动端适配
  17. import 'amfe-flexible';
  18. // filters
  19. import './filters';
  20. Vue.config.productionTip = false;
  21. new Vue({
  22. el: '#app',
  23. router,
  24. store,
  25. render: h => h(App)
  26. });