简体   繁体   English

如何在sharedModules angular 中更改primeng 库

[英]How to change primeng library in sharedModules angular

so i have a shared module image of shared module所以我有一个共享模块的共享模块图像

and i created a folder,with the custom library css that i made so i can direct it in the angular.js,so far so good, but the library has some text in their component and i want to change the languague, i also have the component.js.map files, how do i direct does maps son when angular build them with the ng serve i can see my changes reflected ?我创建了一个文件夹,使用我制作的自定义库 css,以便我可以在 angular.js 中直接使用它,到目前为止还不错,但是该库的组件中有一些文本,我想更改语言,我也有component.js.map 文件,当使用 ng serve angular 构建它们时,我如何指导映射儿子我可以看到我的更改反映?

i already try to import the libary to my shared module, so i can make changes there directly and it didnt work我已经尝试将库导入到我的共享模块中,所以我可以直接在那里进行更改但它不起作用

所以,实际上,有一个简单的解决方案,primeng 具有 i18n 支持功能,您可以通过在此处输入链接描述来实现

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM