Level 14
Depend how large is app.js, but take into account that is being cached by browser.
You can create also separated files, or check this solution for code splitting: https://sebastiandedeyne.com/code-splitting-with-laravel-mix/
1 like
Summer Sale! All accounts are 50% off this week.
Hey artisans
I would like to ask Laravel / Vue developers
How do you set your dependencies on your projects?
Do you keep them all inside bootstrap.js ( they get all loaded inside app.js) ?
or do you add them in a seperated scripts ( CDN) ?
because in some particular pages , I don't need to load a specific package so that it slows down everything..
Please or to participate in this conversation.