Skip to content

princeraj07m/angular-bootstrap-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Angular Bootstrap CLI

A simple custom CLI tool to create Angular projects with Bootstrap + FontAwesome. It saves time by automating the Angular setup, dependency installation, and configuration process.


πŸ“₯ Installation

Install globally from npm:

npm install -g angular-bootstrap-cli

πŸš€ Usage

To create a new Angular project, run:

ng-b-fa-new my-app

This will:

  • Create a new Angular app (ng new my-app)
  • Install Bootstrap and FontAwesome
  • Automatically configure angular.json with required CSS
  • Remove zone.js for a zoneless Angular setup

βš™οΈ Options

You can pass flags when creating your project:

ng-b-fa-new my-app --no-standalone
  • Default β†’ Uses Angular’s standalone components
  • --no-standalone β†’ Creates a project using NgModules instead of standalone

πŸ“‚ After Installation

Your project will already have:

  • βœ… Bootstrap grid, utilities, and components
  • βœ… FontAwesome icons
  • βœ… Zoneless Angular configuration

No extra setup needed β€” just start coding πŸš€


πŸ–₯ Example

# Create new standalone-based project
ng-b-fa-new shop-app

# Or create module-based project
ng-b-fa-new shop-app --no-standalone

# Move into project
cd shop-app

# Start dev server
ng serve -o

Open http://localhost:4200 to see your app running.


πŸ§ͺ Quick Test

Inside app.component.html, replace the template with:

<div class="container text-center mt-5">
  <h1 class="text-primary">
    πŸš€ Angular Bootstrap CLI Works!
  </h1>
  <button class="btn btn-success mt-3">
    <i class="fa fa-check"></i> Bootstrap + FA
  </button>
</div>

If you see a styled heading and a green Bootstrap button with a FontAwesome icon β€” πŸŽ‰ setup is working!


πŸ“„ License

MIT Β© Prince Kumar

About

Angular + Bootstrap + Font awesome project cmd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published