1 Star 0 Fork 144

黎明/laravel-bjyblog

forked from 白俊遥/laravel-bjyblog 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
webpack.mix.js 976 Bytes
一键复制 编辑 原始数据 按行查看 历史
白俊遥 提交于 2020-05-14 20:55 . Install Tailwind CSS
const mix = require('laravel-mix');
const tailwindcss = require('tailwindcss')
/*
|--------------------------------------------------------------------------
| 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/js/app.js', 'public/js')
.sass('resources/sass/app.scss', 'public/css')
.copyDirectory('resources/images', 'public/images')
.version();
// admin 模块
mix.js('resources/js/admin.js', 'public/js')
.sass('resources/sass/admin.scss', 'public/css')
.version();
// mix.sass('resources/sass/github.scss', 'public/css')
// .options({
// processCssUrls: false,
// postCss: [ tailwindcss('tailwind.config.js') ],
// })
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/Json159/laravel-bjyblog.git
[email protected]:Json159/laravel-bjyblog.git
Json159
laravel-bjyblog
laravel-bjyblog
master

搜索帮助