简体   繁体   English

我们是否应该将SpringMVC(Thymeleaf,Jsp)与Js框架(Reactjs,AngularJs等)集成在一起?

[英]Should we integrate SpringMVC(Thymeleaf, Jsp) with Js frameworks (Reactjs, AngularJs,..)

I'm new to Js frameworks like Reactjs, AngularJs. 我是React,AngularJs等Js框架的新手。
And I'm tasked by my customers with the responsibility of researching to integrate Thymeleaf with one of javascript framework to handle common components (commonality and componentization task) in my project. 我受客户的委托,负责研究将Thymeleaf与一个javascript框架集成以处理项目中的常见组件 (通用性和组件化任务)。
But i'm wondering whether it's necessary to use a js framework along with SpringMVC and should we combine these technologies in java web application? 但是我想知道是否有必要将js框架与SpringMVC一起使用,我们是否应该在Java Web应用程序中结合使用这些技术?
Thanks alot. 非常感谢。 I have searched for result for hours but no appropriate one found! 我已经搜索了几个小时的结果,但没有找到合适的结果!

please refer blow 2 link, 请参考打击2链接,

https://github.com/noveogroup-amorgunov/spring-mvc-react https://github.com/noveogroup-amorgunov/spring-mvc-react

https://medium.com/@pietroghezzi/spring-and-react-js-the-easy-way-5abe8a529058 https://medium.com/@pietroghezzi/spring-and-react-js-the-easy-way-5abe8a529058

I develop differently these examples, first I develop frontend project and build. 我用不同的方式开发这些示例,首先开发前端项目并构建。 after creating an MVC project and moved my static build into the static folder. 创建一个MVC项目并将我的静态版本移到static文件夹后。 then build java project got a working project. 然后建立java项目得到了一个可行的项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM