pioner-ant-json-config
Advanced tools
Comparing version 1.0.16 to 1.0.17
{ | ||
"name": "pioner-ant-json-config", | ||
"version": "1.0.16", | ||
"version": "1.0.17", | ||
"description": "JSON configuration for Ant design framework providing customized styling for components ", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -12,3 +12,3 @@ ## Install | ||
In craco.config.js: | ||
**craco.config.js:** | ||
```bash | ||
@@ -30,6 +30,7 @@ const CracoAntDesignPlugin = require("craco-antd"); | ||
### with react-app-rewire | ||
https://github.com/timarney/react-app-rewired | ||
### with react-app-rewire typescript | ||
Follow advanced guide at: | ||
https://ant.design/docs/react/use-in-typescript | ||
In config-overrides.js: | ||
**config-overrides.js:** | ||
```bash | ||
@@ -74,3 +75,3 @@ const tsImportPluginFactory = require('ts-import-plugin') | ||
Basically follow this: https://medium.com/@GeoffMiller/how-to-customize-ant-design-with-react-webpack-the-missing-guide-c6430f2db10f, | ||
just switch themeVariables to correct source in webpack config. Also set "javascriptEnabled: true " in less-loader. | ||
just switch themeVariables to correct source in webpack config. Also set ```javascriptEnabled: true``` in less-loader. | ||
@@ -77,0 +78,0 @@ |
2239
79