-
Notifications
You must be signed in to change notification settings - Fork 0
/
gulpfile.js
39 lines (36 loc) · 1.67 KB
/
gulpfile.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
const elixir = require('laravel-elixir');
require('laravel-elixir-vue-2');
/*
|--------------------------------------------------------------------------
| Elixir Asset Management
|--------------------------------------------------------------------------
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Less
| file for our application, as well as publishing vendor resources.
|
*/
elixir(function(mix) {
//app.scss includes app css, Boostrap and Ionicons
mix.sass('app.scss')
.less('./node_modules/admin-lte/build/less/AdminLTE.less', './public/css/adminlte-less.css')
.less('adminlte-app.less')
.less('./node_modules/toastr/toastr.less')
.styles([
'./public/css/app.css',
'./node_modules/admin-lte/dist/css/skins/_all-skins.css',
'./public/css/adminlte-less.css',
'./public/css/adminlte-app.css',
'./node_modules/icheck/skins/square/blue.css',
'./public/css/toastr.css',
])
.copy('node_modules/font-awesome/fonts/*.*','public/fonts/')
.copy('node_modules/ionicons/dist/fonts/*.*','public/fonts/')
.copy('node_modules/admin-lte/bootstrap/fonts/*.*','public/fonts/bootstrap')
.copy('node_modules/admin-lte/dist/css/skins/*.*','public/css/skins')
.copy('node_modules/admin-lte/dist/img','public/img')
.copy('node_modules/admin-lte/plugins','public/plugins')
.copy('node_modules/icheck/skins/square/blue.png','public/css')
.copy('node_modules/icheck/skins/square/blue@2x.png','public/css')
.webpack('app.js');
});