【问题标题】:Vscode frontend link with springboot带有spring boot的VScode前端链接
【发布时间】:2022-03-01 00:01:22
【问题描述】:

我用 vscode(html、sass 和 js 节点模块)构建了我的前端,用 springboot 构建了我的后端。如何将我的 springboot 后端链接到我的 vscode 前端?

【问题讨论】:

  • 你需要在 Spring Boot 中创建 API 并在前端使用该 API
  • 我该怎么做?
  • 你用过前端框架吗?
  • 请编辑问题以将其限制为具有足够详细信息的特定问题,以确定适当的答案。

标签: java node.js spring-boot visual-studio-code node-modules


【解决方案1】:

使用 Spring Boot 开发所有必要的 API,以获取后端数据。然后,要在前端获取数据,您可以使用 ExpressJs(Node.js 的 Web 应用程序框架)。

【讨论】:

    猜你喜欢
    • 2021-05-15
    • 2020-07-14
    • 2019-11-16
    • 2018-09-28
    • 2021-04-04
    • 2021-03-13
    • 1970-01-01
    • 2018-11-14
    • 2014-04-12
    相关资源
    最近更新 更多