-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathvite.config.js
More file actions
36 lines (30 loc) · 1.12 KB
/
Copy pathvite.config.js
File metadata and controls
36 lines (30 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// vite.config.js
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
plugins: [
laravel({
input: [
// thème central
'resources/css/app.css',
'resources/css/app-rtl.css',
'resources/js/app.js',
// Thème minimalist
'resources/views/themes/minimalist/assets/css/app.css',
'resources/views/themes/minimalist/assets/js/app.js',
// Thème blackside
'resources/views/themes/blackside/assets/css/app.css',
'resources/views/themes/blackside/assets/js/app.js',
// Thème modern
'resources/views/themes/modern/assets/css/app.css',
'resources/views/themes/modern/assets/js/app.js',
// Thème minimalist
// Ajoutez ici les assets de vos futurs thèmes...
//
],
refresh: true,
}),
tailwindcss(),
],
});