Files
nativewind/apps/website/docs/_dependencies.mdx
2022-07-01 13:48:56 +10:00

26 lines
471 B
Plaintext

import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
You will need to install both `nativewind` and `tailwindcss`
`tailwindcss` is not used during runtime so it can be added as a development dependency.
<Tabs>
<TabItem value="npm" label="NPM" default>
```
npm install nativewind
npm install --save-dev tailwindcss
```
</TabItem>
<TabItem value="yarn" label="Yarn">
```
yarn add nativewind
yarn add --dev tailwindcss
```
</TabItem>
</Tabs>