Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: add enhanceApp.js * fix: footer data * fix: footer data * fix: footer and enhanceApp * update version * update version
- Loading branch information
Vincent Hy
committed
Oct 18, 2019
1 parent
aafd763
commit a21296c
Showing
4 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import pageComponents from '@internal/page-components' | ||
import 'ant-design-vue/lib/menu/style/css' | ||
import 'ant-design-vue/lib/layout/style/css' | ||
import 'ant-design-vue/lib/avatar/style/css' | ||
import 'ant-design-vue/lib/breadcrumb/style/css' | ||
import 'ant-design-vue/lib/divider/style/css' | ||
import 'ant-design-vue/lib/icon/style/css' | ||
import 'ant-design-vue/lib/back-top/style/css' | ||
import 'ant-design-vue/lib/collapse/style/css' | ||
import 'ant-design-vue/lib/drawer/style/css' | ||
import 'ant-design-vue/lib/button/style/css' | ||
import 'ant-design-vue/lib/anchor/style/css' | ||
import 'ant-design-vue/lib/tooltip/style/css' | ||
import 'ant-design-vue/lib/spin/style/css' | ||
import { | ||
Avatar, | ||
BackTop, | ||
Breadcrumb, | ||
Divider, | ||
Layout, | ||
Icon, | ||
Menu, | ||
Collapse, | ||
Drawer, | ||
Button, | ||
Anchor, | ||
Tooltip, | ||
Spin | ||
} from 'ant-design-vue' | ||
|
||
export default ({ Vue }) => { | ||
Vue.use(Avatar) | ||
Vue.use(BackTop) | ||
Vue.use(Breadcrumb) | ||
Vue.use(Divider) | ||
Vue.use(Layout) | ||
Vue.use(Icon) | ||
Vue.use(Menu) | ||
Vue.use(Collapse) | ||
Vue.use(Drawer) | ||
Vue.use(Button) | ||
Vue.use(Anchor) | ||
Vue.use(Tooltip) | ||
Vue.use(Spin) | ||
|
||
for (const [name, component] of Object.entries(pageComponents)) { | ||
Vue.component(name, component) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters