npm add -D sass
# OR
yarn add sass -D
import { defineConfig } from 'vite';
import laravel from 'laravel-vite-plugin';
export default defineConfig({
plugins: [
laravel({
input: [
'resources/css/app.scss',
'resources/js/app.js',
],
refresh: true,
}),
],
});
@vite(['resources/css/app.scss', 'resources/js/app.js'])
0 comments:
Post a Comment