最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How can I connect a Vue.js frontend with java backend? - Stack Overflow

programmeradmin0浏览0评论

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
Add a ment  | 

2 Answers 2

Reset to default 7

I 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.

发布评论

评论列表(0)

  1. 暂无评论