angular - importing stylesheets in ionic 3 -


so trying use angular 2 component that's used validate international phone numbers in ionic 3 projects.

https://github.com/webcat12345/ngx-intl-tel-input

i did following said in read me above link.

however, ionic project did not have (angular-cli.json) imported required style sheets (intl-tel-input.css) in in app.scss

however, seems has not imported style sheets successfully..these following errors in below image

enter image description here

anyone how can go through this?

you trying import node_modules during runtime. node_modules not exist @ runtime have put css file in assets/css folder , import there.

but i'm not sure if need import manually @ all. webpack should bundle www/build/main.css automatically if imported components module in appmodule.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -