1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/onlymry-vue-antd-admin

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
main.js 1002 Байты
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
mrdotyan Отправлено 5 лет назад 6944394
import Vue from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router';
import store from './store';
import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';
import VCharts from 'v-charts';
import { message } from 'ant-design-vue';
import './assets/iconfont.css';
import * as lodash from "lodash";
import http from './tools/http';
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/swiper-bundle.css'
Vue.config.productionTip = false
Vue.use(Antd);
Vue.use(VCharts)
Vue.use(VueAwesomeSwiper, /* { default global options } */)
/* 全局lodash */
Vue.prototype.$baseLodash = lodash;
//注入全局属性$msg
Vue.prototype.$msg = message;
// ajax请求
Vue.prototype.$http = http;
message.config({
duration: 2,// 持续时间
top: `100px`, // 到页面顶部距离
maxCount: 3 // 最大显示数, 超过限制时,最早的消息会被自动关闭
});
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/onlymry-vue-antd-admin.git
git@gitlife.ru:oschina-mirror/onlymry-vue-antd-admin.git
oschina-mirror
onlymry-vue-antd-admin
onlymry-vue-antd-admin
dev