我有一个 ASP.NET MVC 站点提供的飞镖聚合物项目。应用程序页面实际上cshtml
是一个与其他 dart 文件位于不同目录中的文件。除此之外,一切都以惯用的方式布置。在 Dartium 中运行时,一切正常。当我以 javascript 运行时,我收到消息boot.js only works in Dartium. Run the build.dart tool to compile a depolyable JavaScript version
。
这种情况似乎很难适应。有什么想法可以让应用程序像 javascript 一样工作,同时保持它作为 ASP.NET MVC 提供的 cshtml 文件?