Back to Browse

How to setup Laravel with Angular (or any javascript framework)

11.1K views
Nov 25, 2020
27:45

Tutorial: https://hotsaucejake.medium.com/how-to-setup-laravel-with-angular-d3de171afa03 Github: https://github.com/hotsaucejake/laravel-angular This method will allow you to add any (and multiple) frontend javascript frameworks to Laravel. For the purposes of this article and tutorial we will focus on Angular, however, other frameworks such as React or Vue.js can be used (simultaneously) in similar fashion. Do you wish to serve the frontend in the same repository as your Laravel project? Do you have an existing Laravel project with an API and now you want to incorporate a different frontend? Have you settled on Laravel as your backend-of-choice to deliver a RESTful API but want to experiment with multiple javascript frameworks? If you answered yes to any of the following, then this method is for you. Most projects that separate the backend from the frontend will live in different repositories. If you don’t want either project to live on different (sub)domains or wish to keep them in the same repository, then you can use this method. You can always separate the two projects in the future into different repositories. It’s unobtrusive to existing projects and you can easily revert all changes.

Download

1 formats

Video Formats

360pmp441.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

How to setup Laravel with Angular (or any javascript framework) | NatokHD