cmjio / UXAspects-Seed

Seed project for UX Aspects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UX Aspects Seed

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.

Getting Started

  1. Clone the repository.
git clone https://github.com/UXAspects/UXAspects-Seed.git
  1. Install the dependencies.
npm install
  1. Build the project and start the development server. This will automatically rebuild when source changes are made.
ng serve
  1. The site will be hosted at http://localhost:4200/.

Development server

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.

Code scaffolding

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

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

License

UX Aspects code is released under the Apache 2.0 License.

About

Seed project for UX Aspects


Languages

Language:TypeScript 76.2%Language:HTML 11.8%Language:JavaScript 10.8%Language:CSS 1.2%