I've just updated my app to Nativescript 6.1 but I'm having this error calling page.addCss:
page.addCssFile('~/themes/' + settings.cssThemeName + '.css');
and I'm not getting this error:
Error: Could not load CSS from ~/themes/white.css: Error: require's first parameter should be string
Could it be a bug? I've tried multiple way to reach the file but I'm always getting the same error
requireline in your css file look like?