Trying to implement Angular 6's stylePreprocessorOptions
to easily import shared styling into a component using @import 'app'
.
My NativeScript project is part of a NxWorkspace setup, with its own angular.json
file.
Following the instructions from @nativescript/schematics
, I created a new angular.json
file in the NativeScript project's root. However, I also duplicated the definition in the NxWorkspace root's angular.json
file because it's unclear which one is being used.
You can view the content of the angular.json
file here.
Despite my configuration settings, when I try to use @import "app"
, it shows an error stating that it can't find the app
relative to the file where I imported it. This issue seems specific to NativeScript, as it works fine in my other applications.