mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-10 07:09:48 +08:00
26 lines
471 B
Plaintext
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>
|