You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does anyone have experience with integrating the primeNG library in a webpack based project?
Trying to integrate it in this starter results in the following error:
Error: No Directive annotation found on Button at new BaseException (http://localhost:3000/main.bundle.js:1318:24) at DirectiveResolver.resolve (http://localhost:3000/main.bundle.js:11928:16) at RuntimeMetadataResolver.getDirectiveMetadata (http://localhost:3000/main.bundle.js:32492:52) at http://localhost:3000/main.bundle.js:32549:63 at Array.map (native)
@Sicaine Still running into issues. Can't get primeng to work when source maps are enabled.
Also, the widget styles do not load properly. Have you stumbled upon the same issues?
@bPopovska Are the widget styles issues you talk about related to the images urls of the style? i'm using sass-loader and as it just process the import statement as if that theme content were copied to the importing file, it breaks the images urls since now that content is in a different folder.
@cagataycivici Does dialogs work in yours? the errors above i fixed using the url loader but now i have issues when using the Dialog and seems related to jquery.
@cagataycivici Maybe my error is related to the way jquery is loaded due to me using the NgUpgrade package to try and update an Ng1 app? i'll take a deeper look at your starter and see what's the issue. 😄
Activity
PatrickJS commentedon Mar 11, 2016
there are two versions of Angular 2 installed. they need to update their angular2 dep or set as a peerDep
chore(package.json): move deps to peer
PatrickJS commentedon Mar 11, 2016
see primefaces/primeng#86
cagataycivici commentedon Mar 11, 2016
Merged now, thank you.
primefaces/primeng#88
PatrickJS commentedon Mar 11, 2016
@cagataycivici thanks
Sicaine commentedon Mar 18, 2016
@bPopovska did you get it running? We have basics running but datepicker makes trouble :(
bPopovska commentedon Mar 20, 2016
@Sicaine Still running into issues. Can't get primeng to work when source maps are enabled.
Also, the widget styles do not load properly. Have you stumbled upon the same issues?
luchillo17 commentedon Apr 14, 2016
@bPopovska Are the widget styles issues you talk about related to the images urls of the style? i'm using sass-loader and as it just process the import statement as if that theme content were copied to the importing file, it breaks the images urls since now that content is in a different folder.
cagataycivici commentedon Apr 21, 2016
I've done a fork to add PrimeNG for the UI;
https://github.com/cagataycivici/angular2-webpack-starter
luchillo17 commentedon Apr 21, 2016
@cagataycivici Does dialogs work in yours? the errors above i fixed using the url loader but now i have issues when using the Dialog and seems related to jquery.
cagataycivici commentedon Apr 22, 2016
Yes, it works for me in my fork above.
aminebizid commentedon Apr 22, 2016
I don't use assets for Css I just do a require on node modules in app.ts
Envoyé de mon iPhone
luchillo17 commentedon Apr 22, 2016
@cagataycivici Maybe my error is related to the way jquery is loaded due to me using the NgUpgrade package to try and update an Ng1 app? i'll take a deeper look at your starter and see what's the issue. 😄