node.js - 在 spring boot 应用程序中使用 npm 模块

标签 node.js spring-boot bootstrap-4 node-modules

如何将第三方插件安装为 node_modules 并在 spring boot web 应用程序中访问它们?

最佳答案

  1. 生成新的Spring Boot工程步骤
  2. 将项目拆分成单独的模块
  3. 将 Angular2 应用程序添加到项目中
  4. 配置 Maven 以构建 Angular2 应用程序
  5. 让 Spring Boot 为 Angular2 应用程序服务
  6. 启动它!
  7. 将 angular-cli 开发服务器与您的 Spring Boot 后端结合使用

点击here查看完整说明。

关于node.js - 在 spring boot 应用程序中使用 npm 模块,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50267003/

相关文章:

javascript - 对象或对象数组

spring-boot - Intellij Spring Boot 项目运行配置

java - Spring Boot 使用模板引擎的麻烦

java - Ehcache 2.10.6 命中统计数据未增加

javascript - 下拉菜单不会下拉

html - Bootstrap 卡片正确堆叠

html - CSS/Bootstrap - 如果文本超过列长度,则将文本移动到新行

javascript - 在 Express 应用程序的路由中运行 setInterval 函数的正确且非阻塞的方式是什么?

javascript - Node.js 可以正常输出到控制台,但不能通过服务器响应

node.js - elastic js v5.0文档中没有id时如何自动生成id