Skip to content

Commit

Permalink
Merge pull request #834 from WestpacGEL/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
jaortiz authored Aug 6, 2024
2 parents 537551a + 4aac036 commit dda3630
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 dda3630

Please sign in to comment.