Category "laravel-mix"

The Mix manifest does not exist - Laravel Fortify Jetstream Login/Registration Issue when deploying laravel in Hostgator shared hosting

I have been able to deploy Laravel projects successfuly in the past. For the first time I am using Laravel 8 with Jetstream and Livewire. Laravel is now using F

How to merge components in VueJS

The Laravel framework and the laravel.mix compiler are used. There is one main component "dialog". <template> <transition-group enter-activ

Some Bootstrap 5 colors are not working compled with Laravel Mix

I am integrating Bootstrap 5 into my Laravel project. I installed Bootstrap with NPM and complied with Laravel Mix, and it's working. However, some extra colors

Uncaught ReferenceError: bootstrap is not defined but still loaded

In my Laravel 8 project I am trying to display a Toast via the following code: app blade layout: <div class="toast" id="toast" role="alert" aria-live="as

Specify the order of scripts in Laravel Mix

I'm trying to combine two JS scripts into one file. One is a third-party library, and the other is some custom js. No matter how I specify the scripts in the mi

'cross-env' is not recognized as an internal or external command,

Guys can you please help me on this I have trouble run npm run dev for my Laravel Mix. I followed links below but still error exist. Do i have a problem on my O

Why Laravel Mix deletes CSS @import url()

I'm using Laravel Mix, and when I run npm run dev, everything is good, but when I run npm run prod, in minified style.css, all @import url()s get deleted! Webpa

npm run cannot find module 'sass' after repeated reinstall attempts

Any call to npm run produces this error: $ npm run dev > @ dev /project > npm run development > @ development /project > cross-env NODE_ENV=deve

Laravel Mix Uncaught ReferenceError: $ is not defined

I've searched and searched and I can't find the answer to my problem on SO. So here's my issue. I'm trying to load jQuery Globally using Laravel Mix. I've tried

Laravel Mix + BrowserSync infinite loading out of the box

Something's making my out-of-the-box Laravel project with browser-sync and the browser-sync-webpack-plugin installed to load infinitely on the browser-sync page

Laravel mix, webpack, terser - strip console log in production bundle

I'm trying to strip console log and console debugs from the production build of my laravel + react app. I found many different solutions but none seemed suitabl

Laravel 5.4 ‘cross-env’ Is Not Recognized as an Internal or External Command

I'm trying to run npm run dev for Laravel Mix and I get this error: > @ dev D:\projects\ptcs > cross-env NODE_ENV=development webpack --progress --hide-m