Make bootstrap work for Angular project?

70 views Asked by At

I am setting up my dev environment on Windows with Wakanda for the first time.

I have npm installed --save bootstrap4 and jquery.

My page is not taking on bootstrap class styles.

Below is my code for package.json (i started with unix filesystem '/' characters and tried windows '\', neither worked)

Do I need to modify index.html?

  "scripts": [
    "..\node_modules\jquery\dist\jquery.js",
    "..\node_modules\bootstrap\dist\js\bootstrap.js"
  ],
  "styles": [
    "..\node_modules\bootstrap\dist\css\bootstrap.min.css",
    "styles.css"
  ]
1

There are 1 answers

0
Ryan Berg On

I was editing the wrong file. I was editing package.json in Wakanda's backend directory. I should have been editing angular-cli.json.