Compiled CSS and JS
Download ready-to-use compiled code for CoreUI for Bootstrap v4.0.2 to easily drop into your project, which includes:
- Compiled and minified CSS bundles (see CSS files comparison)
- Sass compiler (Libsass or Ruby Sass is supported) for compiling your CSS.
- Autoprefixer for CSS vendor prefixing
Should you require build tools, they are included for developing CoreUI for Bootstrap and its docs, but they’re likely unsuitable for your own purposes.
CDN via jsDelivr
Skip the download with jsDelivr to deliver cached version of CoreUI’s compiled CSS and JS to your project.
<link href="https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/css/coreui.min.css" rel="stylesheet" integrity="sha384-qHZDARcDE4rvRsEXG23QUfqK+Pz9TDOdzRs1YuUyn4PfjMAJ9PbHcIZwg0Dx2yMP" crossorigin="anonymous"> <script src="https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.bundle.min.js" integrity="sha384-mUCFKFW9jQEIjhS6xOIxqiVI8jvvVKP9EU7P7Hu9CXqwso926ZGo41SQRhUX8CdC" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-W8fXfP3gkOKtndU4JGtKDvXbO53Wy8SZCQHczT5FMiiqmQfUpWbYdTil/SxwZgAN" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.min.js" integrity="sha384-SaOfVZfflYvITX2mrO/lzEHqlKsjF5PO3Jf+jowahmpQBKmO/fMoUypQcEMW0GJO" crossorigin="anonymous"></script>
Pull in CoreUI’s source files into nearly any project with some of the most popular package managers. No matter the package manager, CoreUI for Bootstrap will require a Sass compiler and Autoprefixer for a setup that matches our official compiled versions.
Install CoreUI for Bootstrap in your Node.js powered apps with the npm package:
npm install coreui
const coreui = require('@coreui/coreui') or
import coreui from '@coreui/coreui' will load all of CoreUI’s plugins onto a
coreui module itself exports all of our plugins. You can manually load CoreUI’s plugins individually by loading the
/js/dist/*.js files under the package’s top-level directory.
package.json contains some additional metadata under the following keys:
sass- path to CoreUI’s main Sass source file
style- path to CoreUI’s non-minified CSS that’s been precompiled using the default settings (no customization)
Install CoreUI in your Node.js powered apps with the yarn package:
yarn add @coreui/coreui
composer require coreui/coreui:4.0.2