.net - angular-json-schema-form 不能与 .net Bundleconfig 一起正常工作?
问题描述
我正在尝试使用 npm 包“angular6-json-schema-form”。我确实有所需的“@angular/flex-layout”包,并且我运行 Angular 7 和 bootstrap 4。我确实将 Angular 生成的文件与 .net Frameworks bundleconfig.cs 捆绑在一起。
bundles.Add(new ScriptBundle("~/bundles/AccountingClientAppVM")
.Include("~/Areas/ClientApp/build/accounting/vendor.js")
.Include("~/Areas/ClientApp/build/accounting/main.js"));
当我在 prod 模式下运行 Angular 构建时。它似乎有效,并且确实找到了 bundle 。在这种情况下,角度 json-schema 也可以工作。这很奇怪,因为生产版本更严格,为什么缩小会影响这一点。如果有人对此问题有所了解,我需要一些帮助。
解决方案
推荐阅读
- rabbitmq - Celery、Django、RabbitMQ(或 Redis)和 RPC 的 BacklogLimitExceeded 错误
- python - 我如何知道 omxplayer 是否正在播放?
- typescript - 属性是未定义的,即使它是在类中定义的
- amazon-dynamodb - 如何为给定的一组关系表设计 dynamodb 表
- python - 使用 python 文件传递参数并将其存储为变量
- sql - Postgres - 删除连接,使用给出错误
- php - 如何将 BLOB 图像存储到临时文件中?
- angular - 如何在 Angular PWA 中拦截应用程序安装提示?
- javascript - 谷歌地图 IE9 不支持 Javascript API 无法加载我的地图
- javascript - 从字符串数组中获取最大值/最小值(javascript)