Source

Internet atanga thil lachhawng

Bootstrap download la, compiled CSS leh JavaScript, source code te chu i hmu thei ang a, i duh ber package manager npm, RubyGems leh a dangte nen pawh dah tel bawk ang che.

CSS leh JS te a compile a

Bootstrap v4.0.0 atana hman theih tur compiled code download la , awlsam taka i project-a i luh theih nan, chutah chuan:

  • CSS bundle compiled leh minified ( CSS files tehkhin dan en rawh ) .
  • JavaScript plugins te chu compile leh minified a ni

Hei hian documentation, source files, JavaScript dependency optional (jQuery leh Popper.js) te a huam lo.

Internet atanga thil lachhawng

Source files te chu

Kan source Sass, JavaScript, leh documentation file te download la, i asset pipeline hmangin Bootstrap hi compile rawh. He option hian tooling dang engemaw zat a mamawh a ni:

Should you require build tools , Bootstrap leh a docs siamna atan an dah tel a, mahse i thil tum atan chuan a tha lo mai thei.

Download source a ni

jsDelivr a ni

Bootstrap-a compiled CSS leh JS cached version chu i project-ah rawn thawn turin jsDelivr hmangin download kha skip rawh .

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>

Kan compiled JavaScript i hman chuan a hmain jQuery leh Popper.js CDN version te kha dah tel theihnghilh suh.

<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>

Package enkawltu te

Bootstrap source files te chu package manager lar tak tak thenkhat nen project eng pawhah pull in rawh. Package manager chu eng pawh ni se, Bootstrap hian kan official compiled version nena inmil setup atan Sass compiler leh Autoprefixer a mamawh dawn a ni.

npm a ni

I Node.js powered apps ah Bootstrap hi npm package hmangin install rawh :

npm install bootstrap

require('bootstrap')Bootstrap-a jQuery plugin zawng zawng chu jQuery object-ah a load vek ang. Module bootstrapngei pawh hian engmah a export lo. /js/*.jsBootstrap-a jQuery plugins te chu package-a top-level directory hnuaia file awmte load-in pakhat zel manual-in i load thei ang .

Bootstrap’s package.jsonah hian a hnuaia key te hnuaiah hian metadata dang thenkhat a awm a:

  • sass- Bootstrap-a Sass source file lian ber kalna tur kawng
  • style- Bootstrap-a non-minified CSS default settings hmanga precompiled tawh kalna kawng (customization awm lo)

RubyGems a ni

I Ruby apps ah Bootstrap hi Bundler ( recommended ) leh RubyGems hmangin install la , a hnuaia line hi i Gemfile: ah dah la .

gem 'bootstrap', '~> 4.0.0'

A dang pawhin Bundler i hman loh chuan he command hi run la, gem chu i install thei bawk ang:

gem install bootstrap -v 4.0.0

A chipchiar zawkna chu gem-a README en rawh .

Hla phuahtu a ni

Bootstrap-a Sass leh JavaScript te pawh Composer hmangin install leh enkawl theih a ni bawk :

composer require twbs/bootstrap:4.0.0

NuGet a ni

.NET-a i develop chuan Bootstrap-a CSS emaw Sass leh JavaScript te pawh NuGet hmangin i install thei a, i enkawl thei bawk ang :

Install-Package bootstrap
Install-Package bootstrap.sass