加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
gulpfile.js 803 Bytes
一键复制 编辑 原始数据 按行查看 历史
var elixir = require('laravel-elixir');
/*
|--------------------------------------------------------------------------
| 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 Sass
| file for our application, as well as publishing vendor resources.
|
*/
elixir(function(mix) {
mix.sass('app.scss');
// vue
mix.copy('node_modules/vue/dist', 'public/static/vue');
// vux
mix.copy('node_modules/vux/components', 'public/static/vux/components');
mix.copy('node_modules/vux/vux.js', 'public/static/vux/vux.js');
mix.copy('node_modules/vux/vux.css', 'public/static/vux/vux.css');
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化