Last active
December 25, 2017 19:29
-
-
Save sid226/e225f71593102e74b50548e81da43e9d to your computer and use it in GitHub Desktop.
angular 2/4 learn steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://angular.io/guide/quickstart | |
commands: | |
npm install -g @angular/cli | |
ng new my-angular-app | |
// install Angular v5 snippets Extension VSCODE | |
//serve UI for test | |
ng serve --port 9080 | |
// Integrate bootstrap 4 | |
https://getbootstrap.com/docs/4.0/components | |
npm install -–save bootstrap@next | |
npm install [email protected] | |
npm install popper.js@^1.12.3 | |
//add bootstrap CSS | |
styles": [ | |
"../node_modules/bootstrap/dist/css/bootstrap.min.css", | |
"styles.css" | |
], | |
//add bootstrap scripts | |
"scripts": [ "../node_modules/jquery/jquery.min.js", | |
"../node_modules/popper.js/dist/popper.min.js", | |
"../node_modules/bootstrap/dist/js/bootstrap.min.js"], | |
// New Component | |
ng generate component feature/my-new-component | |
https://angular.io/guide/router | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment