So in case if anyone wishes to use multiple custom labels then s/he needs to import them all with multiple import statements which are not desirable I guess.
So is there any workaround to this?
Or any single import statement that makes it all labels available in one go?
답변 2개
Hi Chandra,
If you have a large list of labels you want to use in multiple components, just like a utility component that imports all the labels and then exposes them bundled together in one object via an @api method. Then your main component will have a cleaner list of imports.