[ERROR] @return mix(rgba($foreground, 1), $background, opacity($foreground) * 100) sass (ok)

https://stackoverflow.com/questions/67640614/laravel-mix-bootstrap-deprecation-warning-using-for-division-is-deprecated

C:\xampp\htdocs\laravelvue\webpack.mix.js

const 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.
 |
 */
mix.js('resources/js/app.js', 'public/js')
.vue()
.sass('resources/sass/app.scss', 'public/css',{
sassOptions: {
    quietDeps: true,
}});

Chú ý: Để tránh lỗi chúng ta git clone https://github.com/twbs/bootstrap.git về thư mục rồi làm

C:\xampp8\htdocs\marinesTeam26CMS\resources\sass\app.scss

@import 'bootstrap/scss/bootstrap';

Last updated