Skip to content

Commit

Permalink
Update README.md (#435)
Browse files Browse the repository at this point in the history
Tailwind v3 config
  • Loading branch information
iRaziul authored Apr 2, 2024
1 parent d3761b3 commit d72eae8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,24 @@ module.exports = {
}
```

For TailwindCSS `3x`
```js
export default {
content: [
'./vendor/wire-elements/modal/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
],
safelist: [
{
pattern: /max-w-(sm|md|lg|xl|2xl|3xl|4xl|5xl|6xl|7xl)/,
variants: ['sm', 'md', 'lg', 'xl', '2xl']
}
],
// other options
}
```

## Configuration
You can customize the Modal via the `wire-elements-modal.php` config file. This includes some additional options like including CSS if you don't use TailwindCSS for your application, as well as the default modal properties.

Expand Down

0 comments on commit d72eae8

Please sign in to comment.