reactstrap 基于 Bootstrap 4 的无状态 React 组件 项目简介
reactstrap 是基于 Bootstrap 4 的无状态 React 组件。tl;drnpx create-react-app my-app
cd my-app/
npm start或者如果不提供 npx 的话:npm install -g create-react-app
create-react-app my-app
cd my-app/
npm startCDNcdnjs<!-- Main version -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/reactstrap/6.0.1/reactstrap.min.js"></script>
<!-- All optional dependencies version -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/reactstrap/6.0.1/reactstrap.full.min.js"></script>unpkg<!-- Main version -->
<script src="https://unpkg.com/[email protected]/dist/reactstrap.min.js"></script>
<!-- All optional dependencies version -->
<script src="https://unpkg.com/[email protected]/dist/reactstrap.full.min.js"></script>
cd my-app/
npm start或者如果不提供 npx 的话:npm install -g create-react-app
create-react-app my-app
cd my-app/
npm startCDNcdnjs<!-- Main version -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/reactstrap/6.0.1/reactstrap.min.js"></script>
<!-- All optional dependencies version -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/reactstrap/6.0.1/reactstrap.full.min.js"></script>unpkg<!-- Main version -->
<script src="https://unpkg.com/[email protected]/dist/reactstrap.min.js"></script>
<!-- All optional dependencies version -->
<script src="https://unpkg.com/[email protected]/dist/reactstrap.full.min.js"></script>