Why dont you put all your angularJS stuff in public folder ?
Folder structure when Lumen With Angularjs?
I would like to develop web application using Lumen and AngularJs. I have app folder which contains all angularJS files,which means client side application inside app folder.
But I found two folder for view purpose in Lumen,those are public and resource. all view files pointed out in resource folder and all assets like js,images etc are in public folder.
How can I bring all in to a particular location either public or resource? Please explain is there any good practice in case of folder structure? If I using both public and resource folder,Is it good practice?
Thank you all for replies,
At last I found view path settings in lumen at following location,
vendor/laravel/lumen-framework/config/view
And change settings from
'paths' => [ realpath(base_path('resources/views')) ],
To
'paths' => [ realpath(base_path('public/app')) ],
Now I put my angularjs application and all assets inside public/app
Please or to participate in this conversation.