forked from Braunson/laravel-coreui-vue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwebpack.mix.js
26 lines (23 loc) · 1.32 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
let mix = require('laravel-mix');
var coreui_vendor = 'vendor/mrholek/CoreUI-Free-Bootstrap-Admin-Template/Vue_Full_Project';
/*
|--------------------------------------------------------------------------
| 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.
|
*/
// Copy over the CoreUI Assets initially
// mix.copyDirectory(coreui_vendor + '/static/img', 'public/static/img')
// .copy(coreui_vendor + '/static/img/logo.png', 'resources/assets/img/logo.png')
// .copyDirectory(coreui_vendor + '/scss', 'resources/assets/scss')
// .copyDirectory(coreui_vendor + '/src/components', 'resources/assets/js/components')
// .copyDirectory(coreui_vendor + '/src/containers', 'resources/assets/js/containers')
// .copyDirectory(coreui_vendor + '/src/router', 'resources/assets/js/router')
// .copyDirectory(coreui_vendor + '/src/views', 'resources/assets/js/views')
// .copy(coreui_vendor + '/src/_nav.js', 'resources/assets/js/_nav.js')
// .copy(coreui_vendor + '/src/App.vue', 'resources/assets/js/App.vue', false);
mix.js('resources/assets/js/app.js', 'public/js');