我在localhost中创建了spring-boot应用程序 . 现在我正试图在react.js中设计前端部分 . 我按照步骤下载并创建了反应我的应用程序 . 我在src / main / resources / static / js / my-app下复制了my-app文件夹 . 这是我的 Spring 季启动和反应文件 .

code structure

如您所见,默认index.html位于/templates/index.html下,用于spring-boot .

在src / main / resources / static / js / my-app / public / index.html下有另一个index.html for react .

我的java脚本文件位于src / main / resources / static / js / my-app / src / app.js下

我想只使用位于/templates/index.html下的index.html文件

请帮我把这个文件导入我的index.html .

结构应该是什么?