react_lux
v1.10.0
Published
Lux for React Components
Downloads
3
Readme
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 [email protected]: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 link
inreact_lux
- Run
yarn link react_lux
in the repository where you are usingreact_lux
- Don't remove the reference to
react_lux
from yourpackage.json
; thelink
command will take precendence - Make changes to your
react_lux
branch - Run
yarn build
in yourreact_lux
branch's root directory - Changes should appear in your other repository; no refresh required if you have hot reloading
- You will need to run
yarn build
for each change that you make toreact_lux
Releasing
Follow this guide! If you need them, the build steps for react_lux
are:
yarn run build
yarn pack