Angular >2 library starter with
- AOT compilation.
- Support for external templates and SCSS files.
- Rollup bundling
- Replace all "ngx-library-starter" with "your-library-name".
- Rename "LibModule" to "YourLibraryNameModule"
and then
npm i
npm run build
Demo project references the library from parent directory.
When you have changes to the library you still have to remove the library files and install again simply by
cd demo
rm -R node_modules/your-library-name
npm i
cd demo
npm i
npm start
Navigate to the http://localhost:3040
Finally
npm login
npm publish
- AOT compilation
- Rollup bundling
- Minify / Uglify
- Demo project
- Bundle component SASS files
- Bundle component templates
- Bundle styleUrls with multiple styles
- Bundle global styles
- CLI/Generator e.g. yo?