【发布时间】:2021-03-16 21:19:24
【问题描述】:
export function TranslationLoaderFactory(http: HttpClient): any {
return new TranslateHttpLoader(http, '/assets/i18n/');
}
在本地环境中运行良好,但在构建运行时收到未找到 en.json 的错误。
【问题讨论】:
-
您可以查看给定的链接。 stackoverflow.com/questions/61542657/…
标签: angular ngx-translate