Use this tag for question about the Code Sharing templates provided by the NativeScript @nativescript/schematics package.
In NativeScript, Code Sharing is a way to keep the code for a web and a mobile app in a single place. By using the @nativescript/schematics package created in collaboration by the Angular and NativeScript teams, it is possible to build both web and mobile apps from a single project.
This in turn promotes code sharing between the various versions of an app, meaning that only platform-specific code has to be spitted into separate files.
For further details, please refer to the official NativeScript documentation about Code Sharing that can be found at this link.