I am currently learning Laravel. I had a pre-built script and I need to do some changes in it to make it usable... But as much I learnt from the web, I understood that the routes are specified in the Routes/web.php file. But in the application I'm working on, the routes are defined in Routes/api.php file.
I even tried to find out the HTML pages in the Views folder but it only has the code for the tables which are there on the User Interface. All the controllers also return some data (like... return $data) in the end but no php or blade.php file is mentioned in any controller.
I need to find out the HTML pages so that I can change some components or elements from that website.
Please help me with this. Thanks!
CodePudding user response:
there are two possibilities:1- the application is only used for backend purposes, which is why the developer used API instead of routes.
or the application is made by laravel/vuejs. again laravel for backend and vue js for frontend.
in the second case try to search for .vue files
CodePudding user response:
You should look for blade templates. You can find them in resources/views directory, these files have .blade.php extension.