admin管理员组文章数量:1345327
I'm developing a project with a team in which we need to create a simple CRM. Some people remended us Vue.js to create a great looking UI, but the problem is that with the team we mainly use java. So, we wanted to know if it's there a way in which we can connect a UI made with Vue.js with backend made in java. Any remendations on how to do it? I've searched a bit and some articles say we can use java+tomcat to connect the Vue.js UI. We need to know if these kind of integration is possible before starting to spend time into making the UI in Vue.js if we can't connect it with our java backend.
Thanks.
I'm developing a project with a team in which we need to create a simple CRM. Some people remended us Vue.js to create a great looking UI, but the problem is that with the team we mainly use java. So, we wanted to know if it's there a way in which we can connect a UI made with Vue.js with backend made in java. Any remendations on how to do it? I've searched a bit and some articles say we can use java+tomcat to connect the Vue.js UI. We need to know if these kind of integration is possible before starting to spend time into making the UI in Vue.js if we can't connect it with our java backend.
Thanks.
Share Improve this question asked Apr 17, 2018 at 2:04 Sebastián GalindoSebastián Galindo 731 gold badge2 silver badges8 bronze badges 1- Vue.js is for better structuring your front-end JavaScript code, not for making an attractive UI. (CSS frameworks like Bootstrap and Foundation are tools for making an attractive UI.) You can certainly use any kind of server-side technology you wish, and that includes Java+Tomcat--your front-end Vue.js app won't know or care about what your server-side technology is. – nb1987 Commented Apr 17, 2018 at 2:16
2 Answers
Reset to default 7I did an example of a project that integrates a java api (built with spring boot) and a vue.js frontend. It uses frontend-maven-plugin to build the frontend and copy it into the resources.
The source is in my github repo
Yes is possible, see this question
you will use your java application which is your "backend" as web service.
本文标签: javascriptHow can I connect a Vuejs frontend with java backendStack Overflow
版权声明:本文标题:javascript - How can I connect a Vue.js frontend with java backend? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743789941a2539378.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论