primefaces / sakai-ng

Free Angular Admin Template by PrimeNG
https://www.primefaces.org/sakai-ng
MIT License
554 stars 532 forks source link

Support PrimeNg version 17 #37

Open pctimhk opened 9 months ago

pctimhk commented 9 months ago

The current template did not support PrimeNg version 17

dgashby commented 6 months ago

@pctimhk just curious, I just tried applying the Sakai-ng layout to my Angular 17.1.0 / PrimeNg 17.11.0 app and am now seeing errors about "Providers from the BrowserModule have already been loaded." Is this what others are seeing or is it something different?

The demo app that comes with the template seems to be based on Angular 17.0.5 / PrimeNg 17.2.

Adrian2422 commented 4 months ago

@pctimhk This template works fine with primeng v.17+. Please specify what exactly doesn't work in your case.

@dgashby This error means that the application is trying to load the BrowserModule again even though it is already loaded. In this template, the BrowserModule template is loaded in app.layout.module.ts. You probably also added this module in your existing application, make sure that it will be loaded only once (via a shared module etc.)