Skip to content

PrimeNG integration #411

Closed
primefaces/primeng
#86

Description

@bPopovska

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)

Activity

  1. PatrickJS commented on Mar 11, 2016

    @PatrickJS
    Owner

    there are two versions of Angular 2 installed. they need to update their angular2 dep or set as a peerDep

  2. PatrickJS commented on Mar 11, 2016

    @PatrickJS
    Owner
  3. cagataycivici commented on Mar 11, 2016

    @cagataycivici

    Merged now, thank you.

    primefaces/primeng#88

  4. PatrickJS commented on Mar 11, 2016

    @PatrickJS
    Owner
  5. Sicaine commented on Mar 18, 2016

    @Sicaine

    @bPopovska did you get it running? We have basics running but datepicker makes trouble :(

  6. bPopovska commented on Mar 20, 2016

    @bPopovska
    Author

    @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?

  7. luchillo17 commented on Apr 14, 2016

    @luchillo17

    @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.

  8. cagataycivici commented on Apr 21, 2016

    @cagataycivici

    I've done a fork to add PrimeNG for the UI;

    https://github.com/cagataycivici/angular2-webpack-starter

  9. luchillo17 commented on Apr 21, 2016

    @luchillo17

    @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.

  10. cagataycivici commented on Apr 22, 2016

    @cagataycivici

    Yes, it works for me in my fork above.

  11. aminebizid commented on Apr 22, 2016

    @aminebizid

    I don't use assets for Css I just do a require on node modules in app.ts

    Envoyé de mon iPhone

    Le 21 avr. 2016 à 23:12, Çağatay Çivici notifications@github.com a écrit :

    I've done a fork to add PrimeNG for the UI;

    https://github.com/cagataycivici/angular2-webpack-starter

    —
    You are receiving this because you are subscribed to this thread.
    Reply to this email directly or view it on GitHub

  12. luchillo17 commented on Apr 22, 2016

    @luchillo17

    @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. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions