如何将第三方插件安装为 node_modules 并在 spring boot web 应用程序中访问它们?
最佳答案
- 生成新的Spring Boot工程步骤
- 将项目拆分成单独的模块
- 将 Angular2 应用程序添加到项目中
- 配置 Maven 以构建 Angular2 应用程序
- 让 Spring Boot 为 Angular2 应用程序服务
- 启动它!
- 将 angular-cli 开发服务器与您的 Spring Boot 后端结合使用
点击here查看完整说明。
关于node.js - 在 spring boot 应用程序中使用 npm 模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50267003/