@@ -18,8 +18,7 @@ This plugin seamlessly integrates NativeWind with Re.Pack's build process by:
1818
1919First, follow these steps from the official [ NativeWind installation guide] ( https://www.nativewind.dev/docs/getting-started/installation ) :
2020
21- 1 . [ Install NativeWind] ( https://www.nativewind.dev/docs/getting-started/installation/frameworkless )
22- - Skip the metro step but, don't forget to add the ` nativewind/babel ` preset to your babel config.
21+ 1 . [ Install NativeWind] ( https://www.nativewind.dev/docs/getting-started/installation/frameworkless ) - follow everything except the metro setup.
23222 . [ Setup Tailwind CSS] ( https://www.nativewind.dev/docs/getting-started/installation#2-setup-tailwind-css )
24233 . [ Import your CSS file] ( https://www.nativewind.dev/docs/getting-started/installation#5-import-your-css-file )
25244 . (Optional) [ Setup TypeScript support] ( https://www.nativewind.dev/docs/getting-started/installation#7-typescript-setup-optional )
@@ -38,8 +37,6 @@ These additional dependencies (`postcss`, `postcss-loader`, and `autoprefixer`)
3837
3938## Usage
4039
41- ### Plugin
42-
4340To add the plugin to your Re.Pack configuration, update your ` rspack.config.js ` or ` webpack.config.js ` as follows:
4441
4542``` js title="rspack.config.js"
@@ -61,12 +58,12 @@ export default (env) => {
6158
6259- ** Styles not applying?**
6360
64- - Ensure your CSS import is present and the plugin is added to your config.
61+ - Ensure your CSS import is present and the plugin is added to your rspack/webpack config.
6562 - Make sure you have the ` nativewind/babel ` preset applied in your babel config.
6663
6764- ** TypeScript issues?**
6865
69- Follow the [ NativeWind TypeScript setup guide] ( https://www.nativewind.dev/getting-started/typescript ) .
66+ Follow the [ NativeWind TypeScript setup guide] ( https://www.nativewind.dev/docs/ getting-started/installation/frameworkless#6- typescript-setup-optional ) .
7067
7168## Further Resources
7269
0 commit comments