1 Star 0 Fork 144

frederick_c_admin/laravel-bjyblog

forked from 白俊遥/laravel-bjyblog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
webpack.mix.js 788 Bytes
一键复制 编辑 原始数据 按行查看 历史
白俊遥 提交于 2018-10-05 20:54 . 增加复制图片目录的命令
let 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.
|
*/
// home 模块
mix.js('resources/assets/js/app.js', 'public/js')
.sass('resources/assets/sass/app.scss', 'public/css')
.copyDirectory('resources/assets/images', 'public/images')
.version();
// admin 模块
mix.js('resources/assets/js/admin.js', 'public/js')
.sass('resources/assets/sass/admin.scss', 'public/css')
.version();
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/frederick_c/laravel-bjyblog.git
git@gitee.com:frederick_c/laravel-bjyblog.git
frederick_c
laravel-bjyblog
laravel-bjyblog
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385