Skip to content

Instantly share code, notes, and snippets.

@2rohityadav
Last active October 14, 2017 04:43
Show Gist options
  • Save 2rohityadav/0d58d2b675f88306bb1d09c0a59b0d94 to your computer and use it in GitHub Desktop.
Save 2rohityadav/0d58d2b675f88306bb1d09c0a59b0d94 to your computer and use it in GitHub Desktop.
angular_bootstrap.md

Angular 4 with bootstrap 4 setup

Cmds

> ng new projects
> cd projects
> npm install [email protected] tether jquery --save
> npm install --save popper.js angular-popper
> ng serve

angular-cli.json

"styles": [
        "styles.css",
        "../node_modules/bootstrap/dist/css/bootstrap.min.css"
      ],
 "scripts": [
        "../node_modules/jquery/dist/jquery.min.js",
        "../node_modules/tether/dist/js/tether.min.js",
        "../node_modules/popper.js/dist/umd/popper.min.js",
        "../node_modules/bootstrap/dist/js/bootstrap.min.js"
      ],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment