React-Bootstrap · React-Bootstrap Documentation
文章推薦指數: 80 %
js and react-bootstrap.min.js bundles with all components exported on the window.ReactBootstrap object. These bundles are available on unpkg, as well as in the ...
Youarecurrentlyviewingtheauto-generateddocsfromthemasterbranch.Thedocsforthecurrentreleaseareavailableathttps://react-bootstrap.github.io/MenuGettingstartedIntroductionWhyReact-BootstrapThemingSupportRTLServer-sideRenderingLayoutFormsComponentsUtilitiesMigratingAboutIntroductionLearnhowtoincludeReactBootstrapinyourprojectInstallation#ThebestwaytoconsumeReact-Bootstrapisviathenpmpackagewhich
youcaninstallwithnpm(oryarnifyouprefer).IfyouplanoncustomizingtheBootstrapSassfiles,ordon'twant
touseaCDNforthestylesheet,itmaybehelpfulto
installvanillaBootstrapaswell.npminstallreact-bootstrapbootstrap@5.1.3ImportingComponents#Youshouldimportindividualcomponentslike:
react-bootstrap/Buttonratherthantheentirelibrary.
Doingsopullsinonlythespecificcomponentsthatyouuse,which
cansignificantlyreducetheamountofcodeyouendupsendingto
theclient.importButtonfrom'react-bootstrap/Button';
//orlessideally
import{Button}from'react-bootstrap';Browserglobals#Weprovidereact-bootstrap.jsand
react-bootstrap.min.jsbundleswithallcomponents
exportedonthewindow.ReactBootstrapobject.These
bundlesareavailableonunpkg,as
wellasinthenpmpackage.
延伸文章資訊
- 1react-bootstrap - npm
Bootstrap 5 components built with React. Latest version: 2.2.1, last published: 4 days ago. Start...
- 2React-Bootstrap · React-Bootstrap Documentation
The most popular front-end framework, rebuilt for React. ... v2.2.1 (Bootstrap 5.1). Github Disco...
- 3BootCDN - Bootstrap 中文网开源项目免费CDN 加速服务
React-Bootstrap 是基于React 实现的Bootstrap 5 组件库.
- 4React-Bootstrap · React-Bootstrap Documentation
js and react-bootstrap.min.js bundles with all components exported on the window.ReactBootstrap o...
- 5react-bootstrap - npm Package Health Analysis | Snyk
Learn more about react-bootstrap: package health score, popularity, security, ... react-bootstrap...