Creating a project with a shared module that contains generic elements and components, such as a header, is my goal. This shared module will eventually be added as a dependency in package.json and installed through Nexus. However, during the development phase, I would prefer to npm link it from my local filesystem instead of following the "nexus way" every time I make changes to the shared module.
I have a couple of questions:
- Is it possible to use Angular decorators (e.g. @Component or @NgModule) within this shared module?
- What is the best way to import all the content from this shared module into my current project?