react-restyle-components 0.1.21 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +25 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -5,9 +5,31 @@ Easy use restyle components
5
5
  ## Installation
6
6
 
7
7
  ```
8
- npm i react-restyle-components
9
- or
10
- yarn add react-restyle-components
8
+ yarn add react-restyle-components tailwindcss
9
+ yarn add -D @craco/craco craco-alias postcss autoprefixer
10
+
11
+ ```
12
+
13
+ ## Some changes required
14
+
15
+ ```
16
+ tsconfig.json
17
+ "compilerOptions": {
18
+ ...
19
+ "noImplicitAny": false
20
+ },
21
+
22
+ // modify script
23
+ "start": "serve -s ./build",
24
+ "dev": "craco start",
25
+ "build": "craco build",
26
+ "test": "craco test"
27
+
28
+ // Paste 3 files your root path
29
+ https://github.com/appasaheb4/react-restyle-components/blob/master/craco.config.js
30
+ https://github.com/appasaheb4/react-restyle-components/blob/master/postcss.config.js
31
+ https://github.com/appasaheb4/react-restyle-components/blob/master/tailwind.config.js
32
+
11
33
  ```
12
34
 
13
35
  ##
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-restyle-components",
3
- "version": "0.1.21",
3
+ "version": "0.1.24",
4
4
  "private": false,
5
5
  "description": "Easy use restyle components",
6
6
  "main": "lib/cjs/index.js",