Note: The seed project is no longer the recommended way to start a new application using UX Aspects.
This is a starter project, suitable for building a new web application using UX Aspects. Since it is built with Angular CLI, it is easy to extend with new pages and components. It is configured as a hybrid application, allowing use of both Angular and AngularJS components.
- Clone the repository.
git clone https://github.com/UXAspects/UXAspects-Seed.git
- Install the dependencies.
npm install
- Build the project and start the development server. This will automatically rebuild when source changes are made.
ng serve
- The site will be hosted at http://localhost:4200/.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component.
You can find all possible generation options in the table below:
Scaffold | Usage |
---|---|
Component | ng g component my-new-component |
Directive | ng g directive my-new-directive |
Pipe | ng g pipe my-new-pipe |
Service | ng g service my-new-service |
Class | ng g class my-new-class |
Guard | ng g guard my-new-guard |
Interface | ng g interface my-new-interface |
Enum | ng g enum my-new-enum |
Module | ng g module my-module |
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.
UX Aspects code is released under the Apache 2.0 License.