Skip to content

Commit 2edfe4a

Browse files
committed
docs: fix formatting and wording
1 parent 9cd2e32 commit 2edfe4a

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

website/src/latest/docs/features/nativewind.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ This plugin seamlessly integrates NativeWind with Re.Pack's build process by:
1818

1919
First, 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.
2322
2. [Setup Tailwind CSS](https://www.nativewind.dev/docs/getting-started/installation#2-setup-tailwind-css)
2423
3. [Import your CSS file](https://www.nativewind.dev/docs/getting-started/installation#5-import-your-css-file)
2524
4. (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-
4340
To 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

Comments
 (0)