@salty-css/react 0.0.1-alpha.237 → 0.0.1-alpha.239
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.
- package/README.md +7 -1
- package/package.json +2 -2
package/README.md
CHANGED
@@ -428,7 +428,13 @@ And note: steps 2 & 3 are just to show how get new components up and running, st
|
|
428
428
|
|
429
429
|
And note: steps 2 & 3 are just to show how get new components up and running, step 1 does all of the important stuff 🤯
|
430
430
|
|
431
|
-
|
431
|
+
### Test it out
|
432
|
+
|
433
|
+
Check out React + Vite + Salty CSS demo repository at https://github.com/margarita-form/salty-css-react-vite-demo or view it in CodeSandbox:
|
434
|
+
|
435
|
+
[](https://codesandbox.io/p/github/margarita-form/salty-css-react-vite-demo/main?import=true&embed=1)
|
436
|
+
|
437
|
+
### Manual configuration
|
432
438
|
|
433
439
|
1. For Vite support install `npm i @salty-css/vite @salty-css/core`
|
434
440
|
2. In `vite.config` add import for salty plugin `import { saltyPlugin } from '@salty-css/vite';` and then add `saltyPlugin(__dirname)` to your vite configuration plugins
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@salty-css/react",
|
3
|
-
"version": "0.0.1-alpha.
|
3
|
+
"version": "0.0.1-alpha.239",
|
4
4
|
"main": "./dist/index.js",
|
5
5
|
"module": "./dist/index.mjs",
|
6
6
|
"typings": "./dist/index.d.ts",
|
@@ -66,7 +66,7 @@
|
|
66
66
|
}
|
67
67
|
},
|
68
68
|
"dependencies": {
|
69
|
-
"@salty-css/core": "^0.0.1-alpha.
|
69
|
+
"@salty-css/core": "^0.0.1-alpha.239",
|
70
70
|
"clsx": ">=2.x",
|
71
71
|
"react": ">=19.x || >=18.3.x"
|
72
72
|
}
|