LaravelDaily/Larastarters

Bootstrap 5 theme Vite Config

Closed this issue · 0 comments

Was getting a "Unable to locate file in Vite manifest: resources/sass/app.scss." error pulling in any bootstrap 5 themes. This was fixed by editing the vite.config.js file as follows:

...
laravel({
    input: ['resources/sass/app.scss', 'resources/js/app.js'],
    refresh: true,
}),
...

Don't think anything really needs to be changed, but may be good to note for others who have the same issue!