In order to use Bootstrap 4 in your project, you first need to add the Bootstrap style sheet and JavaScript files. In this example, you'll use Bower to download the Bootstrap 4 files to your local project:
bower.json
to the root of your project folder and set its content to the following in order to add Bootstrap 4 as a dependency:{ "name": "ASP.NET", "private": true, "dependencies": { "bootstrap": "4.0" } }
bower update
bower.json
file and save it to a bower_components
folder inside your project.If you receive the following error, ENOGIT git is not installed or not in the PATH
, it means that you do not have the Git installation folder path specified in your environment variables. Fix this by adding the following values to your Windows environment variables: ;%PROGRAMFILES(x86)%Gitin;%PROGRAMFILES(x86)%Gitcmd
Another workaround is to run the command from the Git Shell instead of the normal command prompt.
3.17.76.175