currently, laravel has been used to do Wechat applications, and the front-end code is also in the laravel project, which needs to be changed from html+js to blade template.
the html+js developed at the front end must also be converted and incorporated into the laravel project, which is troublesome.
what should I do if I want to achieve complete separation?
currently, we are going to install nginx+php+laravel,laravel project on the back-end server to implement business logic and call Wechat interface, and develop restful-style interface, which is provided to the frontend to call and obtain data.
so, does the front end also use a server, such as using vue+webpack, to run on another server alone, and then the router of laravel in the back-end server requests front-end pages from the front-end server? Does the front-end server still need nginx?
in this way, the front-end service can be developed separately, and another group of people in the back-end can develop it separately, without merging the front-end code on the back-end service.
above, I would like to ask you for advice.