How to install bootstrap using nuget command

藏色散人
Release: 2021-01-21 16:46:19
Original
2411 people have browsed it

How to install bootstrap using the nuget command: First, find the NuGet package manager in the Tools menu in Visual Studio and open the package manager console; then enter the "PM> Install-Package -version 3.0" command there Just install it.

How to install bootstrap using nuget command

The operating environment of this tutorial: Windows 7 system, bootsrap3 version, Dell G3 computer. This method is suitable for all brands of computers.

Recommended: "bootstrap video tutorial""css video tutorial"

Find the NuGet package in the Tools menu in Visual Studio Open the package manager console in the manager, enter the following command and press Enter:

PM> Install-Package -version 3.0.0 bootstrap
Copy after login

This command will download the jQuery, js and css files in bootstrap, and the CSS file will be stored in the Content file folder, a Scripts folder will be automatically created to store javascript files, and a fonts folder will be created to store some specific files.

Description:

The paired file with the .min. prefix in the Content is a javascript and css file that is compressed, that is, all spaces are removed,

to reduce the content passed by the browser The amount of bandwidth required, and vs managed automatically.

Now you need to reference the required .css file to the required view in the same way as referencing the Style.css file, and then assign the class tag attribute to each element.

The above is the detailed content of How to install bootstrap using nuget command. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!