Unverified Commit ef63e38e authored by 陈帅's avatar 陈帅 Committed by GitHub

Merge pull request #4392 from ant-design/change-to-es

change lib to es
parents 3d3b5ad4 e5fd26e9
......@@ -64,7 +64,7 @@ export default (config: any) => {
// {
// antDir: path.join(__dirname, '../node_modules/antd'),
// stylesDir,
// varFile: path.join(__dirname, '../node_modules/antd/lib/style/themes/default.less'),
// varFile: path.join(__dirname, '../node_modules/antd/es/style/themes/default.less'),
// mainLessFile: outFile, // themeVariables: ['@primary-color'],
// indexFileName: 'index.html',
// generateOne: true,
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.globalFooter {
margin: 48px 0 24px 0;
......
import React from 'react';
import { Avatar, Menu, Spin, Icon } from 'antd';
import { FormattedMessage } from 'umi-plugin-react/locale';
import { ClickParam } from 'antd/lib/menu';
import { ClickParam } from 'antd/es/menu';
import { ConnectProps, ConnectState } from '@/models/connect';
import { CurrentUser } from '@/models/user';
import { connect } from 'dva';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.container > * {
background-color: #fff;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.headerSearch {
:global(.anticon-search) {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.list {
max-height: 400px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.popover {
position: relative;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.menu {
:global(.anticon) {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
html,
body,
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.container {
display: flex;
......
......@@ -3,8 +3,8 @@ import React from 'react';
export default () => (
<p style={{ textAlign: 'center' }}>
Want to add more pages? Please refer to{' '}
<a href="https://umijs.org/guide/block.html" target="_blank" rel="noopener noreferrer">
umi block
<a href="https://pro.ant.design/docs/block-cn" target="_blank" rel="noopener noreferrer">
use block
</a>
</p>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment