Reclamador angular component library
Project generated with Angular CLI using Nrwl Nx.
The repository contains the libray (reclamitux) a test page app (demo-page) and a build enviroment for github pages.
Visit our demo page.
Run ng serve --project=demo-page
to launch the demo-page server and navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
You can create add new components to the library with ng g component COMPONENT-NAME --project=reclamitux
or some other block with ng generate directive|pipe|service|class|guard|interface|enum|module --project=reclamitux
.
Run ng build --project=myapp
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
The project demo page is served with github pages. The code is in the branch gh-pages and it's only suppose to keep the dist changes. The process to update the documentation should be like this:
- Deploy the changes to master
- Merge the master branch into gh-pages
- Build the new version of the page with the command
npm build-docs
- Commit the changes and upload them to the repository
The github page updates instantly.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.