代码之家  ›  专栏  ›  技术社区  ›  bluePearl

在asp中显示angular2应用程序。net mvc应用程序

  •  1
  • bluePearl  · 技术社区  · 8 年前

    Referenced Tutorial

    如何在asp中配置链接。net mvc路由到angular应用程序?我需要更改应用程序/主应用程序吗。ts和systemjs。配置。js文件?

    1 回复  |  直到 8 年前
        1
  •  2
  •   yurzui    8 年前

    第1步

    打开 _布局。cshtml

    enter image description here

    第2步

    然后删除

    <my-app>Loading...</my-app>
    

    标记自 指数cshtml

    enter image description here

    并将其添加到 关于cshtml scripts 章节:

    enter image description here

    enter image description here