-
Notifications
You must be signed in to change notification settings - Fork 0
/
webpack.mix.js
57 lines (52 loc) · 1.96 KB
/
webpack.mix.js
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
const mix = require('laravel-mix');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel application. By default, we are compiling the Sass
| file for the application as well as bundling up all the JS files.
|
*/
mix.js('resources/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css')
.styles([
'public/css/user/uikit.css',
'public/css/user/style.css',
'public/css/user/tailwind.css',
], 'public/css/user/all.css')
.scripts([
'public/js/user/jquery-3.3.1.min.js',
'public/js/user/tippy.all.min.js',
'public/js/user/uikit.js',
'public/js/user/simplebar.js',
'public/js/user/custom.js',
'public/js/user/bootstrap-select.min.js',
'public/js/user/ionicons.js',
],'public/js/user/all_min.js')
.styles([
'public/css/adminlte.min.css',
'public/css/md.css'
],'public/css/admin/adminlte_md_min.css')
.sourceMaps();
/*admin css
* <link rel="stylesheet" href="{{asset('css/adminlte.min.css')}}">
<!-- Material Design Style -->
<link rel="stylesheet" href="{{asset('css/md.css')}}">
* */
/*
user
* <script src="{{asset('js/user/jquery-3.3.1.min.js')}}"></script>
<script src="{{asset('js/user/tippy.all.min.js')}}"></script>
<script src="{{asset('js/user/uikit.js')}}"></script>
<script src="{{asset('js/user/simplebar.js')}}"></script>
<script src="{{asset('js/user/custom.js')}}"></script>
<script src="{{asset('js/user/bootstrap-select.min.js')}}"></script>
<script src="{{asset('js/user/ionicons.js')}}"></script>
* */
/*
* <link rel="stylesheet" href="{{asset('css/user/uikit.css')}}">
<link rel="stylesheet" href="{{asset('css/user/style.css')}}">
<link rel="stylesheet" href="{{asset('css/user/tailwind.css')}}">
* */