The error returned is:
Code: Select all
ERROR TypeError: Cannot read property 'href' of null
Code: Select all
const themeLink: HTMLLinkElement = <HTMLLinkElement>document.getElementById('theme-css');
const href = themeLink.href;
Code: Select all
"defaults": {
"styleExt": "scss",
"component": {}
}
Code: Select all
@import 'assets/theme/theme-blue-light.scss',
'assets/layout/css/layout-blue-light.scss'
Is this intended functionality, or is PrimeNG truly limited to only CSS if you want to use the theme switching function?