Angular 4 - Helping Guide

INSTALLATION Additional Things

BOOTSTRAP 3

after inside angular-cli.json (inside project root folder) find styles and add a bootstrap CSS like this:

npm install --save bootstrap

"styles": [
   "../node_modules/bootstrap/dist/css/bootstrap.min.css",
   "styles.css"
]

LESS 

ng new project_name --style less

CREATE NEW COMPONENT

ng generate component componentName

This will generate new components with all the related files (.ts, .html, .css) and it will pass and import in app.module.ts

Read All Helping things here : Here we Go

Thanks, happy <code>


要查看或添加评论,请登录

Hidayt Rahman的更多文章

  • Object destructuring in JavaScript

    Object destructuring in JavaScript

    Object destructuring is a useful JavaScript feature to extract properties from objects and bind them to variables…

  • 7 JavaScript Concepts That Every Web Developer Should Know

    7 JavaScript Concepts That Every Web Developer Should Know

    1. Scopes ?? The understanding scope will make your code stand out, reduce errors and help you make powerful design…

    5 条评论
  • 6 Reasons to learn JavaScript

    6 Reasons to learn JavaScript

    1. Used Everywhere By Knowing only JavaScript, you're able to build an entire web application from the backend to the…

  • How to center things with style in CSS

    How to center things with style in CSS

    Text-Align Method The “text-align: center” method is perhaps the most common one you’ll see for centering. It’s used…

  • How do JavaScript closures work?

    How do JavaScript closures work?

    Every function in JavaScript maintains a link to its outer lexical environment. A lexical environment is a map of all…

  • A Look Into HTML6 – What Is It and What It Has to Offer?

    A Look Into HTML6 – What Is It and What It Has to Offer?

    HTML6 overview. HTML is a simple web development language that keeps on rolling out new versions, and has started…

社区洞察

其他会员也浏览了