Error: Cannot build angular2 app with primeng using AOT

UI Components for Angular
Post Reply
shresthasam
Posts: 1
Joined: 28 Sep 2016, 23:36

28 Sep 2016, 23:55

I am trying to create a simple angular2 app that uses primeng's menubar. While the app builds fine using webpack version 2, it fails miserably when trying to build with angular's AOT.

Here's the info on AOT from angular's official documentation site
https://angular.io/docs/ts/latest/cookb ... piler.html

Due to significant reduction in file size of the final app gained thru AOT and rollup, it is important that developers are able to utilize this optimization technique with vendor libraries.

Please take a look at this GitHub repo
https://github.com/ShresthaSam/angular- ... wesome-cdn

This repo is intended to be a demo app using primeng menubar. Currently, parts of the code related to primeng are commented out. Can you take it from there? Please be sure to read the ReadMe, especially the "Known Issues".

Thanks
Sam

bulldog
Posts: 31
Joined: 17 Jun 2016, 23:45

29 Sep 2016, 21:11


luisabreu
Posts: 20
Joined: 12 Oct 2016, 22:13

13 Oct 2016, 00:30

Hello guys.

Anyone knows when we'll have support for aot?

thanks.

Luis

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

28 Oct 2016, 01:15

AOT support is ready and will be available in next week's RC1 release.

Post Reply

Return to “PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 15 guests