Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Installing via NPM | Setting Up Environment
Bootstrap Essentials for Modern Websites
course content

Conteúdo do Curso

Bootstrap Essentials for Modern Websites

Bootstrap Essentials for Modern Websites

1. Understanding Bootstrap
2. Setting Up Environment
3. Basic Concepts
4. Advanced Concepts
5. Creating a Portfolio Website with Bootstrap

book Installing via NPM

Installing Bootstrap via NPM allows us to manage dependencies more efficiently and integrate Bootstrap into the project build process.

Here's how to install Bootstrap via NPM:

  • In the terminal we should run the following command:
  • After installing Bootstrap, we can include the Bootstrap CSS and JavaScript files in the HTML file or import them into the JavaScript files as needed;
  • For example, we can import Bootstrap's CSS and JS in the main HTML file (e.g., index.html) using:

Note

In this course, we will utilize CDN links to integrate Bootstrap features into the project. This method eliminates the necessity of managing complex dependencies.

However, if you prefer working on your local machine using NPM, that's perfectly acceptable. Subsequent topics will function identically regardless of how you connect Bootstrap to your project.

Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 3
We're sorry to hear that something went wrong. What happened?
some-alt