facebook

Linking css file in node_module

  1. CodeMix & Angular IDE
  2.  > 
  3. Webclipse 1.x Help
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #523474 Reply

    Jubril
    Participant

    I already used npm install to get the bootstrap files into my node_modules folder and i added

    <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
    
    to index.html

    but whenever i run i get 404 . file not found

    #523746 Reply

    support-piotr
    Participant

    Hi Jubril!

    If you are trying to use bootstrap with Angular CLI project, please refer to https://github.com/valor-software/ngx-bootstrap/blob/development/docs/getting-started/ng-cli.md . Note that .angular-cli.json might be hidden in the Project Explorer. If that’s the case, please open Project Explorer view menu (an arrow pointing down in the top right corner) and click Customize view.... On the filters tab deselect .* resources and press OK. You should now see .angular-cli.json file under your project.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Linking css file in node_module

You must be logged in to post in the forum log in