search

Home  >  Q&A  >  body text

javascript - springmvc, a solution to separate the front and back ends?

Using spring springmvc mybatis vuejs to build a front-end and back-end separation architecture
After technical research by me and the backend, I gave up the solution of using .html for all pages
Instead, I wrote html vue in the WEB-INF jsp file , all the data goes through json ajax. It is equivalent to wrapping a layer of jsp outside the .html.
Does this count as separation of the front and back ends? Is there a better solution?

習慣沉默習慣沉默2745 days ago1088

reply all(2)I'll reply

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-14 10:53:02

    b:spring mvc @RestController
    f:vue+jquery+bootstarp

    reply
    0
  • PHP中文网

    PHP中文网2017-06-14 10:53:02

    That’s right, you can do this, you can also look at vue-cli to create multiple pages

    reply
    0
  • Cancelreply