Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit f0382c2

Browse files
committed
Docs
1 parent c210ca3 commit f0382c2

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [pascalbaljet]

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,16 @@ npm install @protonemedia/inertiajs-tables-laravel-query-builder --save
169169
yarn add @protonemedia/inertiajs-tables-laravel-query-builder
170170
```
171171

172+
Add the repository path to the `purge` array of your [Tailwind configuration file](https://tailwindcss.com/docs/optimizing-for-production#basic-usage). This ensures that the styling also works on production builds.
173+
174+
```js
175+
module.exports = {
176+
purge: [
177+
'./node_modules/@protonemedia/inertiajs-tables-laravel-query-builder/**/*.{js,vue}',
178+
]
179+
}
180+
```
181+
172182
#### Table component
173183

174184
To use the `Table` component and all its related features, you need to add the `InteractsWithQueryBuilder` mixin to your component and add the `Tailwind2.Table` component to the `components` key.

0 commit comments

Comments
 (0)