Skip to content

Commit

Permalink
Merge pull request #833 from WestpacGEL/feat/update-dev-docs
Browse files Browse the repository at this point in the history
feat: update dev docs
  • Loading branch information
jaortiz authored Aug 6, 2024
2 parents 74df4d5 + 29afb70 commit 4aac036
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 4aac036

Please sign in to comment.