Skip to content

Commit 7657dbe

Browse files
Add final config for Assets js & css
1 parent 7ab2ad8 commit 7657dbe

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,23 @@ Optionally, you can publish the views using, but not recommend cause failing at
4040
```bash
4141
php artisan vendor:publish --tag="filemanager-views"
4242
```
43-
43+
Finaly, you need to compile your assets with the assets of FileManager like that :
44+
```css
45+
/* before @tailwind base in your resources/css/app.css */
46+
@import "./../../vendor/webplusmultimedia/filemanager/resources/dist/css/filemanager.css";
47+
@tailwind base;
48+
```
49+
```javascript
50+
/* in your resources/js/app.js */
51+
import './../../vendor/webplusmultimedia/filemanager/resources/dist/js/filemanager'
52+
```
53+
```javascript
54+
/* put the line in content key on your tailwind.config.js */
55+
content:[
56+
*** Others conf ***,
57+
'./vendor/webplusmultimedia/filemanager/resources/dist/js/Components/**/*.js'
58+
]
59+
```
4460
## Usage
4561
For simple use in a blade view :
4662
```html

0 commit comments

Comments
 (0)