没有安装
解决 npm install laravel-elixir
github
邮件发送服务器
api_key
kYCl2SaguwSyupvo
用户提示
githunb
laracasts/flash
加在要显示位置
@if (session()->has('flash_notification.message')) <
div
class
=
"alert alert-{{ session('flash_notification.level') }}"
> <
button
type
=
"button"
class
=
"close"
data-dismiss
=
"alert"
aria-hidden
=
"true"
>
×
</
button
> {!! session('flash_notification.message') !!} </
div
>@endif
页面底部加入
<
script
>
$
(
'#flash-overlay-modal'
).
modal
();</
script
>
编辑器
github
选择工具select2
引入js
目录 assets/js/select2.min.js
require('./select2.min');
引入css
目录 assets/sass/app.scss
@import "./../select2.min";
gulpfile.js
const elixir = require('laravel-elixir');
//mix.sass(['app.scss','b.scss'],'public/styles/style.css'); ,要编译文件额数组,存储路径
// 默认编译resources/assets文件下面的
elixir(function(mix){
mix.sass('app.scss');
mix.scripts('bootstrap.js');
mix.scripts('app.js');
});