mardi 1 octobre 2019

How can I serve the static dist folder as my front end in a Spring Boot server?

I have written my server code in spring, and had written the front end code in angular.

Now I am unable to serve both of them to single port.

I have built the dist folder and placed it in the static folder in spring directory, but the angular routing is not working.

I think this is not the perfect way to do this. I have looked for various resources and gone through many articles but still I am unable to get the perfect solution.




Aucun commentaire:

Enregistrer un commentaire