In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "the introduction of the installation method of bootstrap". In the daily operation, I believe that many people have doubts about the introduction of the installation method of bootstrap. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the doubts of "introduction to the installation method of bootstrap". Next, please follow the editor to study!
Bootstrap installation method:
Install via Bower
You can also install and manage Bootstrap's Less, CSS, JavaScript, and font files through Bower.
$bower install bootstrap
Install via npm
You can also use the npm tool to install Bootstrap:
$npm install bootstrap@3
The purpose of the require ('bootstrap') code is to load all jQuery plug-ins for Bootstrap. Where the bootstrap module itself does not export anything. You can manually load individual Bootstrap plug-ins by loading the / js/*.js file in the top-level directory of the installation package.
Bootstrap's package.json file contains some additional metadata:
● less-the path to the entry Less file of the Bootstrap source code
● style-the path to the uncompressed CSS file for Bootstrap
Install via Composer
The Bootstrap installation package, including Less, CSS, JavaScript and fonts files, can also be installed through Composer (Chinese official website: Composer Chinese website):
$composer require twbs/bootstrap
Matters needing attention in compiling Less/Sass source code
Bootstrap leverages Autoprefixer to automatically add vendor-specific prefixes to certain CSS attributes. If you are compiling Bootstrap from Less/Sass source code and do not use the Gruntfile file that comes with Bootstrap, you must integrate Autoprefixer into your compilation tool and compilation process. If you are using our pre-compiled Bootstrap file or using the Gruntfile file provided by us, then don't worry, we have done the work for you.
At this point, the study of "introduction to the installation method of bootstrap" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.