Skip to content

Commit 9573a82

Browse files
author
苗园园
committed
feat(init): init
init init
0 parents  commit 9573a82

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+24431
-0
lines changed

.babelrc

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"presets": [
3+
"es2015",
4+
"react",
5+
"stage-0",
6+
"env"
7+
],
8+
"plugins": [
9+
"transform-decorators-legacy",
10+
"transform-class-properties"
11+
]
12+
}
13+

.gitignore

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*

README.md

+2,433
Large diffs are not rendered by default.

config-overrides.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
const { injectBabelPlugin } = require('react-app-rewired');
2+
const rewireLess = require('react-app-rewire-less');
3+
4+
module.exports = function override(config, env) {
5+
// do stuff with the webpack config...
6+
config = injectBabelPlugin(['import', { libraryName: 'antd', style: true }], config);
7+
config = rewireLess.withLoaderOptions({
8+
modifyVars: { "@primary-color": "#1DA57A" },
9+
})(config, env);
10+
return config;
11+
};

0 commit comments

Comments
 (0)