Skip to content

Commit

Permalink
feat: update dev docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Ortiz committed Aug 6, 2024
1 parent 74df4d5 commit 29afb70
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ GEL can be installed using a package manager like `npm`, `yarn` or `pnpm`.
```html
<StaticCode language="js" code={`npm i @westpac/ui`} />
```

If you are using a workspace update `tailwind.config.js` to use the `withGEL` helper exported by `@westpac/ui` as follows.

```html
Expand Down Expand Up @@ -64,3 +65,12 @@ const config = withGEL({
});
`} />
```

Ensure tailwind directives are added to your main css file

```html
<StaticCode language="css" code={`
@tailwind base;
@tailwind components;
@tailwind utilities;`} />
```

0 comments on commit 29afb70

Please sign in to comment.