Compiled CSS and JS
Download ready-to-use compiled code for CoreUI for Bootstrap v4.0.0-alpha.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-sj4nNLVki1gzwP+38XyjBKO55Fzkz7IVLU3E5+KhTyfcIH6KkOW98g/dufqEDuB5" crossorigin="anonymous"> <script src="https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.bundle.min.js" integrity="sha384-0+5HznKWAIuPCY1HRJh0Of3caYyAG8tm3EPCZ286/iHC2AhH9Q7DVffO4IHGZySb" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-EOlc5FUOsy7obkrpNXqD9DtrephzQpK7DXijDIKexeJT0qfn4dZ7GDid8suWuQHq" crossorigin="anonymous"></script> <script src="https://cdn.jsdelivr.net/npm/@coreui/[email protected]/dist/js/coreui.min.js" integrity="sha384-UTFDCzXH9HY29YuduJBgWZg0UbBSDX9/GPzJgoL5TJCZmoZ4UEcb4h0D+9i81T1A" 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 [email protected]
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/[email protected]
composer require coreui/coreui:4.0.0-alpha.2