Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
ef63e38e
Unverified
Commit
ef63e38e
authored
Jun 06, 2019
by
陈帅
Committed by
GitHub
Jun 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4392 from ant-design/change-to-es
change lib to es
parents
3d3b5ad4
e5fd26e9
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
13 additions
and
13 deletions
+13
-13
config/plugin.config.ts
config/plugin.config.ts
+1
-1
src/components/GlobalFooter/index.less
src/components/GlobalFooter/index.less
+1
-1
src/components/GlobalHeader/AvatarDropdown.tsx
src/components/GlobalHeader/AvatarDropdown.tsx
+1
-1
src/components/GlobalHeader/index.less
src/components/GlobalHeader/index.less
+1
-1
src/components/HeaderDropdown/index.less
src/components/HeaderDropdown/index.less
+1
-1
src/components/HeaderSearch/index.less
src/components/HeaderSearch/index.less
+1
-1
src/components/NoticeIcon/NoticeList.less
src/components/NoticeIcon/NoticeList.less
+1
-1
src/components/NoticeIcon/index.less
src/components/NoticeIcon/index.less
+1
-1
src/components/SelectLang/index.less
src/components/SelectLang/index.less
+1
-1
src/global.less
src/global.less
+1
-1
src/layouts/UserLayout.less
src/layouts/UserLayout.less
+1
-1
src/pages/Welcome.tsx
src/pages/Welcome.tsx
+2
-2
No files found.
config/plugin.config.ts
View file @
ef63e38e
...
...
@@ -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,
...
...
src/components/GlobalFooter/index.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.globalFooter {
margin: 48px 0 24px 0;
...
...
src/components/GlobalHeader/AvatarDropdown.tsx
View file @
ef63e38e
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
'
;
...
...
src/components/GlobalHeader/index.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
@pro-header-hover-bg: rgba(0, 0, 0, 0.025);
...
...
src/components/HeaderDropdown/index.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.container > * {
background-color: #fff;
...
...
src/components/HeaderSearch/index.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.headerSearch {
:global(.anticon-search) {
...
...
src/components/NoticeIcon/NoticeList.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.list {
max-height: 400px;
...
...
src/components/NoticeIcon/index.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.popover {
position: relative;
...
...
src/components/SelectLang/index.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.menu {
:global(.anticon) {
...
...
src/global.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
html,
body,
...
...
src/layouts/UserLayout.less
View file @
ef63e38e
@import '~antd/
lib
/style/themes/default.less';
@import '~antd/
es
/style/themes/default.less';
.container {
display: flex;
...
...
src/pages/Welcome.tsx
View file @
ef63e38e
...
...
@@ -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"
>
u
mi
block
<
a
href
=
"https://
pro.ant.design/docs/block-cn
"
target
=
"_blank"
rel
=
"noopener noreferrer"
>
u
se
block
</
a
>
。
</
p
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment