(03-07-2020, 02:29 PM)tweenietomatoes Wrote: i think there is nothing implemented to support front end js atm like laravel does.
better, put everything in public folder
i mean js bundle. Put vue code in your view. Call view from controller. run vue as a seperate thing.
use CI as a rest api etc.
I was thinking about the same, but I am building a platform with independent applications and I want to use just components (not entire JS frontend) so my public folder will looks like this:
Code:
public:
- app.index.php
- app2.index.php
- app.name (Folder)
-- app.js
-- app.sass
-- ...
- app2.name (Folder)
-- app2.js
-- app2.sass
But I am not sure how to use it just modularly for dynamic components.