1 month ago

How to compile a set of components into separate files.

Posted 1 month ago by mvnobrega

Laravel compiles all the components inside App.js, which leaves my file with 400kb. But many components are used in specific areas of the website and compiling everything in one place doesn't seem like a good idea.

How do you resolve this situation? Is there an easy and practical way to dynamically load components for each specific page?

Please sign in or create an account to participate in this conversation.