search

Home  >  Q&A  >  body text

javascript - I want to use the iView vue framework, but I also want to use a jsp template to implement it. How should I do it?

1. I want to use iVew’s vue library;
2. But I want to use jsp templates to implement it, and use templates to do it
3. The current problem is stuck in <jsp:include page ="./content.jsp"></jsp:include>
On the jsp inside, because a new Vue has been added outside, if it is nested and new Vue is added, it will be adjusted to the outermost one. Methods and data have no module meaning anymore

What should I do? ?

迷茫迷茫2726 days ago773

reply all(1)I'll reply

  • 仅有的幸福

    仅有的幸福2017-06-15 09:23:49

    What the server finally assembles is an HTML page that is returned to the browser. If necessary, content.jsp can be encapsulated into a vue template for use

    reply
    0
  • Cancelreply