更新时间:2023-02-07 22:46:50
您需要激活构建您的ng应用程序并将其放在spring-boot文件夹中
You would need to prod build your ng app and place that in spring-boot folder
1. Create a public folder under resources in your spring-boot project
2. ng build --prod, type this command on you angular project which will create a dist folder under your angular project directory
3. copy files from you dist folder and place it in public folder under resources of your spring-boot project.
这将有助于您在spring-boot下运行angular-app。
This will help you run your angular-app under spring-boot.
然后点击 http:// localhost:8080 / adminisitration ,它应该可以正常工作
then hit http://localhost:8080/adminisitration, it should work fine