Use Image Asset In Angular Library Stack Overflow

Use Image Asset In Angular Library Stack Overflow You need to add an 'assets' element at the root of your ng package.json file (not the angular.json file). from there you have a few options for how to include assests: an object containing an input, glob, and output property so you have more control over the final destination of the asset. e.g. An image can be encoded with base64 to data urls and used in a template inline: or be bound to component property that contains data url:
images can be included alongside with the package, and a user can be instructed to copy them into website public directory.

Storybook Use Angular Material In Custom Angular Library Stack Overflow

Use Assets From The Angular Library In The Application Stack Overflow

Include Assets When Building Angular Library Stack Overflow

Include Assets When Building Angular Library Stack Overflow
Comments are closed.