To use the hosted CSS, add this
<link> to the
<head> of your document.
<link rel="stylesheet" href="https://assets.bux.osu.edu/v0.7.5/css/bux-styles.min.css"/>
To use the hosted JS, add this
<script> to the end of your document, just before the closing
In addition to the latest tagged version, we will also provide major and minor versions in the following format. If you'd like to receive automatic updates you may choose to use one of these versions instead.
# These links will provide the latest 0.7.x version
# These links will provide the latest 0.x version
This ZIP file contains compiled and minified CSS and JS, Sass source files, Twig templates, images, and a starter HTML file.
|—— (A Twig template for each component as necessary.)
NPM and Composer packages are hosted via the University Code Repository (UCR) and will require authenitication to UCR. Each version of the package will include a
dist directory that includes the same files listed in the "Download Project Assets" section above.
@osu namespace to your project by adding the following line to your project's
.npmrc file. If your project doesn't have an
.npmrc file, create one at the root of your project.
Then install the package from your terminal at the root of the project.
npm install @osu/bux-source
Add the following item to the
"repositories" section of your project's
Then require the package from your terminal at the root of the project.
composer require osu/bux-composer
Depending on your project, you may want to add it as a dev dependency:
composer require --dev osu/bux-composer
You may optionally install this package to a specific directory rather than into the default
vendor directory. To do so, you must also install the Composer Installers Extender package.
A valid use case for this would be to install BUX assets directly into your Drupal theme. See example below for how to configure that in your project's