-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d13eede
Showing
125 changed files
with
23,816 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[Makefile] | ||
indent_style = tab |
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,4 @@ | ||
/lambda/ | ||
/scripts | ||
/config | ||
.history |
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,9 @@ | ||
const { strictEslint } = require('@umijs/fabric'); | ||
|
||
module.exports = { | ||
...strictEslint, | ||
globals: { | ||
ANT_DESIGN_PRO_ONLY_DO_NOT_USE_IN_YOUR_PRODUCTION: true, | ||
page: true, | ||
}, | ||
}; |
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,24 @@ | ||
--- | ||
name: '报告Bug 🐛' | ||
about: 报告 Ant Design Pro 的 bug | ||
title: '[BUG]' | ||
labels: bug | ||
assignees: '' | ||
--- | ||
|
||
**bug 描述** [详细地描述 bug,让大家都能理解] | ||
|
||
**复现步骤** [清晰描述复现步骤,让别人也能看到问题] | ||
|
||
**期望结果** [描述你原本期望看到的结果] | ||
|
||
**复现代码** [提供可复现的代码,仓库,或线上示例] | ||
|
||
**版本信息:** | ||
|
||
- Ant Design Pro 版本: [e.g. 4.0.0] | ||
- umi 版本 | ||
- 浏览器环境 | ||
- 开发环境 [e.g. mac OS] | ||
|
||
**其他信息** [如截图等其他信息可以贴在这里] |
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,13 @@ | ||
--- | ||
name: '功能需求 ✨' | ||
about: 对 Ant Design Pro 的需求或建议 | ||
title: '[需求]' | ||
labels: feature | ||
assignees: '' | ||
--- | ||
|
||
**需求描述** [详细地描述需求,让大家都能理解] | ||
|
||
**解决方案** [如果你有解决方案,在这里清晰地阐述] | ||
|
||
**其他信息** [如截图等其他信息可以贴在这里] |
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,13 @@ | ||
--- | ||
name: '疑问或需要帮助 ❓' | ||
about: 对 Ant Design Pro 使用的疑问或需要帮助 | ||
title: '[问题]' | ||
labels: question | ||
assignees: '' | ||
--- | ||
|
||
**问题描述** [详细地描述问题,让大家都能理解] | ||
|
||
**示例代码** [如果有必要,展示代码,线上示例,或仓库] | ||
|
||
**其他信息** [如截图等其他信息可以贴在这里] |
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,39 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
**/node_modules | ||
# roadhog-api-doc ignore | ||
/src/utils/request-temp.js | ||
_roadhog-api-doc | ||
|
||
# production | ||
/dist | ||
/.vscode | ||
|
||
# misc | ||
.DS_Store | ||
npm-debug.log* | ||
yarn-error.log | ||
|
||
/coverage | ||
.idea | ||
package-lock.json | ||
*bak | ||
.vscode | ||
|
||
# visual studio code | ||
.history | ||
*.log | ||
functions/* | ||
.temp/** | ||
|
||
# umi | ||
.umi | ||
.umi-production | ||
|
||
# screenshot | ||
screenshot | ||
.firebase | ||
.eslintcache | ||
|
||
build |
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,20 @@ | ||
**/*.svg | ||
package.json | ||
.umi | ||
.umi-production | ||
/dist | ||
.dockerignore | ||
.DS_Store | ||
.eslintignore | ||
*.png | ||
*.toml | ||
docker | ||
.editorconfig | ||
Dockerfile* | ||
.gitignore | ||
.prettierignore | ||
LICENSE | ||
.eslintcache | ||
*.lock | ||
yarn-error.log | ||
.history |
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,5 @@ | ||
const fabric = require('@umijs/fabric'); | ||
|
||
module.exports = { | ||
...fabric.prettier, | ||
}; |
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,5 @@ | ||
const fabric = require('@umijs/fabric'); | ||
|
||
module.exports = { | ||
...fabric.stylelint, | ||
}; |
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,57 @@ | ||
# Ant Design Pro | ||
|
||
This project is initialized with [Ant Design Pro](https://pro.ant.design). Follow is the quick guide for how to use. | ||
|
||
## Environment Prepare | ||
|
||
Install `node_modules`: | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
yarn | ||
``` | ||
|
||
## Provided Scripts | ||
|
||
Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test. | ||
|
||
Scripts provided in `package.json`. It's safe to modify or add additional script: | ||
|
||
### Start project | ||
|
||
```bash | ||
npm start | ||
``` | ||
|
||
### Build project | ||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
### Check code style | ||
|
||
```bash | ||
npm run lint | ||
``` | ||
|
||
You can also use script to auto fix some lint error: | ||
|
||
```bash | ||
npm run lint:fix | ||
``` | ||
|
||
### Test code | ||
|
||
```bash | ||
npm test | ||
``` | ||
|
||
## More | ||
|
||
You can view full document on our [official website](https://pro.ant.design). And welcome any feedback in our [github](https://github.com/ant-design/ant-design-pro). |
Oops, something went wrong.