CSS : utilisation de Mix pour l'intégrité et le cache de bulma.css
This commit is contained in:
parent
fb6762bf9f
commit
606aad3f53
4
.gitignore
vendored
4
.gitignore
vendored
@ -11,3 +11,7 @@ Homestead.json
|
||||
Homestead.yaml
|
||||
npm-debug.log
|
||||
yarn-error.log
|
||||
package-lock.json
|
||||
public/css
|
||||
public/js
|
||||
public/mix-manifest.json
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>@yield('title')</title>
|
||||
<link rel="stylesheet" href="/bulma.min.css">
|
||||
<link rel="stylesheet" href="{{ mix("css/bulma.css") }}">
|
||||
|
||||
<body>
|
||||
|
||||
|
11
webpack.mix.js
vendored
11
webpack.mix.js
vendored
@ -11,7 +11,10 @@ const mix = require('laravel-mix');
|
||||
|
|
||||
*/
|
||||
|
||||
mix.js('resources/js/app.js', 'public/js')
|
||||
.postCss('resources/css/app.css', 'public/css', [
|
||||
//
|
||||
]);
|
||||
// mix.js('resources/js/app.js', 'public/js')
|
||||
// .postCss('resources/css/app.css', 'public/css', [
|
||||
// //
|
||||
// ]);
|
||||
|
||||
mix.copy('resources/css/bulma.min.css', 'public/css/bulma.css')
|
||||
.version();
|
||||
|
Loading…
Reference in New Issue
Block a user