This project is a sample project that uses Handy Angular Components library.
Try this sample here
Features:
- A bit more real world demos using Handy Angular Components
- Localization via ngx-translate
- AOT and JIT compilation via npm scripts on package.json
- Multiple root components setup (cool right?). Use angular 2+ as a pure component framework without the need of creating a SPA or using a single root component. See app.module.ts to learn how to bootstrap more than one component.
Run npm start
to build the demo in watch mode. Run npm run serve
in another console to start a server and navigate to http://localhost:8000/
.
Run npm run build:debug
to build the project in JIT (Just in Time). The build artifacts will be stored in the dist/
directory.
Run npm run build:release
for a production build in AOT (Ahead of Time).
Run npm run lint
to execute the unit tests via Karma.
Run npm run test
to execute the unit tests via Karma.
Run npm run e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via npm start
.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|module
.