I have a laravel application. For pages with this routing: /admin/entity/ I want to use responsive components with a responsive router to handle the route /admin/entity/:id .
If I use browserify to merge all components into a single file, I cannot access any component to display it from the outside, since the browser wraps it until it closes. So I have few questions:
Should I create a separate bundle.js file for each page and explicitly display the components in this file? Or do I need to precompile each component from jsx to js and make it inline from the
*.blade.php file? does it make sense to enable the library response to bundle.js or can I load it explicitly from the view?
source share