Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Commit 4e1cfc3

Browse files
committed
feat: add antd
1 parent c356c69 commit 4e1cfc3

File tree

3 files changed

+742
-8
lines changed

3 files changed

+742
-8
lines changed

client/.babelrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
{
2-
"presets": ["@babel/preset-env", "@babel/preset-react"]
2+
"presets": ["@babel/preset-env", "@babel/preset-react"],
3+
"plugins": [["import", { "libraryName": "antd" }]]
34
}

client/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@typescript-eslint/eslint-plugin": "^2.27.0",
2323
"@typescript-eslint/parser": "^2.27.0",
2424
"babel-loader": "^8.1.0",
25+
"babel-plugin-import": "^1.13.0",
2526
"cross-env": "^7.0.2",
2627
"css-loader": "^3.5.1",
2728
"eslint": "^6.8.0",
@@ -45,6 +46,8 @@
4546
"webpack-dev-server": "^3.10.3"
4647
},
4748
"dependencies": {
49+
"antd": "^4.1.1",
50+
"dayjs": "^1.8.23",
4851
"react": "^16.13.1",
4952
"react-dom": "^16.13.1"
5053
}

0 commit comments

Comments
 (0)