Skip to content

Latest commit

 

History

History
55 lines (26 loc) · 641 Bytes

File metadata and controls

55 lines (26 loc) · 641 Bytes

DEV

CLA Local Development

Copyright The Linux Foundation and each contributor to CommunityBridge.

SPDX-License-Identifier: CC-BY-4.0

Prerequisites

  • Node 12+
  • Angular CLI

Angular project setup (Frontend) and essential commands

Install the CLI using the npm package manager:

npm install -g @angular/cli

Install dependencies:

npm install

Run Angular Project

ng s or ng serve

Run ES Lint

npm run eslint

Create a new module

ng g m <path>

Create a new component

ng g c <path>

Create a new service

ng g s <path>

Create a local build

ng build

Create a production build

ng build --prod