This project provides a central location for common Bazaarvoice UI code. It is intended to be installed into a project via NPM. Individual modules are authored as CommonJS modules, to be consumed by Webpack or another build tool that can ingest CommonJS.
This is a public repository. Please see the contribution guidelines for details on contributing to this repo.
You will need NPM to add this to your project; it is installed when you install Node, so it is likely that you already have it. If not, you can install Node using an installer, or by using your favorite package manager (such as Homebrew).
Once you have NPM, you can install bv-ui-core as follows:
npm install --save bv-ui-core
Require bv-ui-core modules into your code:
var someModule = require('bv-ui-core/lib/someModule');
someModule.doThings();
For details on how to use a specific module, see the README document in the module's directory.