Open apangr opened 9 months ago
@apangr having the same issue, I ended up manually copied the svg-country-flags/svg from node_modules to my assets folder.
@jezmaghuyop Thanks for the workaround it works on angular 14
In angular 17 (maybe other versions), you just have to put ./assets/svg-country-flags/svg
, instead of src/assets/svg-country-flags/svg
, like this:
..."assets": [
"src/favicon.ico",
"src/assets",
{
"glob": "**/*",
"input": "./node_modules/svg-country-flags/svg",
"output": "./assets/svg-country-flags/svg"
}
],...
Then It will work without copying the module.
Describe the bug When initializing the component the flags do not load. I followed the steps in the documentation
Screenshots