Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

Vuejs能否和SpringBoot整合在同一个工程?如果可以,能否告知一下思路。还是说他们只能分开,分别整两个web服务,vuejs就去请求springboot的接口,做前后端分离。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
418 views
Welcome To Ask or Share your Answers For Others

1 Answer

我目前也在做这样的项目练手,目前是使用前后分离的方式.前端vue+webpark+bootstrap做个单页面工程,后端使用springboot只提供接口.
vue也可以和springboot整合在一个工程里,就是使用<script src="vue.js>这样,这样一来vue只是单纯的提供双向绑定功能,因为我想学习下vue所以放弃这种思路了.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...