From eb571d835422af2d461d0b52811e788c76cc26cc Mon Sep 17 00:00:00 2001 From: drawcall Date: Mon, 24 Jan 2022 12:29:24 +0800 Subject: [PATCH] feat: update doc --- .editorconfig | 3 ++- README.md | 6 +++--- config-overrides.js | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.editorconfig b/.editorconfig index 9451807b..d3d3432f 100755 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,5 @@ # http://editorconfig.org +# c2f config root = true [*] @@ -8,4 +9,4 @@ trim_trailing_whitespace = true [{*.js,*.json,*.yml}] indent_size = 2 -indent_style = space \ No newline at end of file +indent_style = space diff --git a/README.md b/README.md index 7b946e2e..e192a1aa 100755 --- a/README.md +++ b/README.md @@ -18,11 +18,11 @@ I want to use `postcss` to do a lot of things, we can get a style attribute and ## Run and build -#### `cd ./source` +#### Clone the project -Enter source folder +`git clone https://github.com/drawcall/c2f.git` -#### `npm start` +#### Startup project ```shell npm i diff --git a/config-overrides.js b/config-overrides.js index 0c4e5a6c..ffd22324 100644 --- a/config-overrides.js +++ b/config-overrides.js @@ -2,6 +2,6 @@ const path = require("path"); const paths = require("react-scripts/config/paths"); module.exports = function override(config, env) { - //paths.appBuild = path.join(path.dirname(paths.appBuild), 'c2f'); + // paths.appBuild = path.join(path.dirname(paths.appBuild), 'c2f'); return config; };