node.js - angular-cli@webpack with primeng 404 issues -
i following errors in starter project angular2, angular-cli@webpack , primeng. ui component primeng dropdown renders , has values no css theme applied ever.(see errors below in regards css). not sure why error , have spent countless hours no result @ loss @ point. component generated ng command , ng serve runs web server. idea? have tried both node.js 6.5.0 , 4.5.0 (switching , managing them nvm).
any appreciated deeply.
failed load resource: server responded status of 404 (not found) http://localhost:3000/node_modules/primeng/resources/primeng.min.css failed load resource: server responded status of 404 (not found) http://localhost:3000/src/app/resources/css/font-awesome-4.6.3/css/font-awesome.min.css failed load resource: server responded status of 404 (not found) http://localhost:3000/node_modules/primeui/primeui-ng-all.min.css failed load resource: server responded status of 404
by way posted code in: https://github.com/greghila/primeng-angular-cli.
under src/
there should file styles.css
. think can import styles here.
eg.:
@import '../node_modules/primeng/resources/primeng.min.css';
the other way mention them in angular-cli.json
file in styles
array.
Comments
Post a Comment