1.10.0 • Published 4 years ago
react_lux v1.10.0
ReactLux: Lux for React
ReactLux is an implementation of the Lumos Design Language in React
It is inspired by Lux and a couple open source libraries like Atlaskit and backpack-ui
A live version of our storybook is available here: https://s3.amazonaws.com/lumos-react-lux-storybook/%3A/index.html
Setup
- Clone the React Lux repository.
$git clone git@github.com:lumoslabs/react_lux.git - Install yarn
$yarn install$yarn run storybook- Navigate to
http://localhost:6060/in your browser
Using Yarn Link to Test Local Changes when using react_lux as a dependency.
You can use a symbolic link to your local branch of react_lux in order to update the package and see live changes in your other applications. Just follow these steps:
- Run
yarn linkinreact_lux - Run
yarn link react_luxin the repository where you are usingreact_lux - Don't remove the reference to
react_luxfrom yourpackage.json; thelinkcommand will take precendence - Make changes to your
react_luxbranch - Run
yarn buildin yourreact_luxbranch's root directory - Changes should appear in your other repository; no refresh required if you have hot reloading
- You will need to run
yarn buildfor each change that you make toreact_lux
Releasing
Follow this guide! If you need them, the build steps for react_lux are:
yarn run buildyarn pack
Usage
1.10.0
4 years ago