Search...

Installation

Step by step guide on how to install ng-cdbangular

Prerequisites

Before you begin, make sure you have Angular CLI and Node.js LTS installed (Angular 15 requires Node.js version ^14.20 or higher).

To install Contrast Design Bootstrap Angular (Free) in your project, type the command below in your terminal.

Install NG-CDBAngular

Step 1: Create a new Angular App using Angular CLI

bash
ng new <appname>

Answer the questions that show up to get your application initialized.

Step 2: Navigate to app's directory

bash
cd <appname>

Step 3: Install ng-cdbangular using npm or yarn

bash
npm install --save ng-cdbangular

or

bash
yarn add ng-cdbangular

Step 4: Add Contrast Design Bootstrap styles to the angular.json file

json
"styles": [
"node_modules/ng-cdbangular/assets/scss/cdb.scss"
]

Step 4: Launch your app

bash
ng serve -o

Build modern projects using Bootstrap 5 and Contrast

Trying to create components and pages for a web app or website from scratch while maintaining a modern User interface can be very tedious. This is why we created Contrast, to help drastically reduce the amount of time we spend doing that. so we can focus on building some other aspects of the project.

Contrast Bootstrap PRO consists of a Premium UI Kit Library featuring over 10000+ component variants. Which even comes bundled together with its own admin template comprising of 5 admin dashboards and 23+ additional admin and multipurpose pages for building almost any type of website or web app.
See a demo and learn more about Contrast Bootstrap Pro by clicking here.