Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ndeblauw authored Sep 19, 2024
1 parent 36cfe24 commit 87ddb51
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@ composer require ndeblauw/blue-admin
```

## Usage
When using vite, don't forget to add to `tailwind.config.js`the following line
```js
export default {
content: [
// Existing paths
'./vendor/ndeblauw/blue-admin/resources/**/*.blade.php', // <-- ADD THIS
],
```
When using the Tinymceimage component, don't forget to add `blueadmin/tinymce/upload` to the $except list in the `\App\Http\Middleware\VerifyCsrfToken.php` middleware to make sure the image uploads will happen.
Expand Down

0 comments on commit 87ddb51

Please sign in to comment.