commit | author | age
|
9bcb19
|
1 |
import Vue from 'vue' |
I |
2 |
import VueStorage from 'vue-ls' |
|
3 |
import config from '@/config/defaultSettings' |
|
4 |
|
|
5 |
// base library |
|
6 |
import Antd from 'ant-design-vue' |
|
7 |
import Viser from 'viser-vue' |
|
8 |
import VueCropper from 'vue-cropper' |
|
9 |
import 'ant-design-vue/dist/antd.less' |
|
10 |
|
|
11 |
// ext library |
|
12 |
import VueClipboard from 'vue-clipboard2' |
|
13 |
import MultiTab from '@/components/MultiTab' |
|
14 |
import PageLoading from '@/components/PageLoading' |
|
15 |
import PermissionHelper from '@/utils/helper/permission' |
|
16 |
// import '@/components/use' |
|
17 |
import './directives/action' |
|
18 |
|
|
19 |
VueClipboard.config.autoSetContainer = true |
|
20 |
|
|
21 |
Vue.use(Antd) |
|
22 |
Vue.use(Viser) |
|
23 |
Vue.use(MultiTab) |
|
24 |
Vue.use(PageLoading) |
|
25 |
Vue.use(VueStorage, config.storageOptions) |
|
26 |
Vue.use(VueClipboard) |
|
27 |
Vue.use(PermissionHelper) |
|
28 |
Vue.use(VueCropper) |
|
29 |
|
|
30 |
process.env.NODE_ENV !== 'production' && console.warn('[antd-pro] WARNING: Antd now use fulled imported.') |