1.4.0 • Published 7 years ago
rex-core v1.4.0
ReX React UI Components Library
rex-core
This project is part of Rex Design Language and it can be used to create React UI Components.
How it was built
- Build tool: webpack 4
- Codebase: Fork of Bootstrap project + Rex custom styles
- Css engine: Sass
- JavaScript component: React
How to install
npm install rex-core@1.4.0 --saveWhat you can do
Use it as core styles dependency for any ReX React UI Component.
JavaScript modules
This modules will require the distribution version of the core styles from a single CSS file depending on the environment settings (process.env.NODE_ENV).
For development mode:rex-core.development.css
For production mode:rex-core.production.min.css
With default font
import 'rex-core';
import 'custom-styles.scss';With Web Font support
import 'rex-core/webfont';
import 'custom-styles.scss';Static HTML
Add it from our CDN into your HTML template or HTML static page.
For development mode:
<link href="https://r.r10s.jp/com/rex/rex-core/1.4.0/rex-core.development.css" rel="stylesheet">For production mode:
<link href="https://r.r10s.jp/com/rex/rex-core/1.4.0/rex-core.production.min.css" rel="stylesheet">Live demo
Check the Storybook site at Github pages: