# Set your default NPM registry to the CoreLogic internal registry. If you are using other packages from this # repository, then you probably do not want to do this since most do not have the @corelogic scope. $ npm config set @corelogic:registry https://repo2.corelogic.net/repository/npm-all # If you don't already have a package.json, you'll need to initialize one $ npm init # Add CLUI to your project's dependencies $ npm install --save @firstname.lastname@example.org
|Asset Type||Source Location||Notes|
Must be accessible by CSS files as ../fonts
corelogic-ui.min.jsis loaded after jquery.
There is a bootstrap-less version available too if you would rather use that. You are required to provide the 3rd party library that provides the bootstrap functionality.
cluiis self contained inside of the clui variable. You will also need to load
import * as clui from "../node_modules/@corelogic/clui/dist/js/corelogic-ui-module";
You will need to add the following dependencies to your project package.json.
Once you have them, you can import
@corelogic/clui/src/scss/corelogic-ui.scss into your main scss file.
If you are overriding a default CLUI class or variable, make sure to import CLUI before your new component.
Remember that by importing the main CLUI sass file you can use the CLUI-defined variables located in