我有一个spring boot maven项目和一个Angular 5项目。我通常构建"dist“文件夹npm run build:prod,然后将其添加到src/main/resources/public,然后引导spring项目。
如何将Angular项目的源代码包含在spring boot项目中,以便在spring boot应用程序运行时可以对html和typescript文件进行实时编辑?
发布于 2018-11-09 05:41:34
你将不得不为你的Spring Boot项目设置热重载。看一下这个作为起点:https://docs.spring.io/spring-boot/docs/current/reference/html/howto-hotswapping.html
https://stackoverflow.com/questions/53216305
复制相似问题