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.
37 lines
1.1 KiB
37 lines
1.1 KiB
// The Vue build version to load with the `import` command
|
|
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
|
|
|
|
import Vue from 'vue'
|
|
import {WechatPlugin, AjaxPlugin, LoadingPlugin, ToastPlugin, AlertPlugin} from 'vux'
|
|
import App from './App'
|
|
import router from './router'
|
|
import '@/assets/iconfont.css'
|
|
import '@/assets/styles/main.scss'
|
|
import '@/assets/styles/style.css'
|
|
import '@/common/rem.js'
|
|
import ElementUI from 'element-ui'
|
|
import 'element-ui/lib/theme-chalk/index.css'
|
|
import $ from 'jquery'
|
|
//import Swiper from 'swiper/dist/js/swiper.js';
|
|
import VueAwesomeSwiper from 'vue-awesome-swiper'
|
|
import 'swiper/dist/css/swiper.css'//这里注意具体看使用的版本是否需要引入样式,以及具体位置。
|
|
|
|
|
|
Vue.config.productionTip = false
|
|
Vue.use(WechatPlugin)
|
|
Vue.use(AjaxPlugin)
|
|
Vue.use(LoadingPlugin)
|
|
Vue.use(ToastPlugin)
|
|
Vue.use(AlertPlugin)
|
|
|
|
Vue.use(VueAwesomeSwiper, /* { default global options } */)
|
|
//Vue.use(VueAwesomeSwiper)
|
|
/* eslint-disable no-new */
|
|
|
|
|
|
new Vue({
|
|
el: '#app',
|
|
router,
|
|
template: '<App/>',
|
|
components: {App}
|
|
})
|