Upgrading to Angular 5

Post Reply
dmund1024
Posts: 23
Joined: 13 Apr 2017, 21:31

31 Jan 2018, 15:03

How do I upgrade mu current application to Angular 5.

merve7
Posts: 482
Joined: 12 Sep 2017, 10:44

09 Feb 2018, 15:20

We released Ultima 5.2.0 and some files changed. You need to;
-Remove node_modules folder
-Add new versions angular, primeng and other dependencies in your package.json.(Please see Ultima 5.2.0 package.json. It has new versions)
-Change other files (https://www.primefaces.org/ultima-ng/#/documentation in Migration Guide topic)
-Install npm
-Build sass (sass -w src/ --sourcemap=none)

jboothe
Posts: 6
Joined: 22 Sep 2017, 03:29

21 Feb 2018, 01:08

@merve7,

Could you be more specific with your comment,
Change other files...
I have reviewed the migration guide you've referenced and it is not clear what `theme` and `layout` css files need to be updated (referenced below).

The migration guide is not clear. Could you please elaborate on the items listed under the "5.0.0 to 5.2.0" section:

- Remove nanoscroller as it is replaced by ScrollPanel component of PrimeNG.
Q: remove it from where? package.json, elsewhere?
- Update app.component.ts and app.component.html.
Q: what specifically in app.component.ts and app.component.html requires updating?
- Update app.menu.component.ts.
Q: what specifically in app.menu.component.ts requires updating?
- Update app.rightpanel.component.ts.
Q: what specifically in app.rightpanel.component.ts requires updating?
- Update layout css files.
Q: please elaborate on which layout "css" files need updating.
- Update theme css files.
Q: please elaborate on which theme "css" files need updating.



Thank you.

merve7
Posts: 482
Joined: 12 Sep 2017, 10:44

05 Mar 2018, 07:28

1. Nanoscroll removed from package.json, .angular-cli.json and layout files.
2.You need to update all app.component.ts and app.component.html because we reimplemented ripple effect.
3. You need to update all app.menu.component.ts because removed nanoscroll (class vs.) and added scrollpanel.
4. You need to update all app.rightpanel.component.ts because removed nanoscroll (class vs.) and added scrollpanel.
5-6. You need to update all files in layout and theme folders.

Post Reply

Return to “Ultima - PrimeNG”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest