Hey ,
Laravel mix has the ability to merge all your js files into a single app.js file. you just have to direct it to the individual files.
Hopefully that helps I am also learning.
Dear Good People,
We hope you have a good day.
Today I am learning to use Laravel + React, and we use Laravel Mix for the asset management.
We use Metronic theme for the styling, there are so many plugins, such as FullCalendar, Popper, Lodash, Axios, etc.
When i check the default app.js, Bootstrap and React component already there.
My question is, should we merge it in 1 app.js (an app.css of course), or we should seperate it like React have their own component app.js file and plain javascript have their own js file.
Or is there another way? Please tell us :D
Thank you
Please or to participate in this conversation.