To develop ReactJS Components and see the implications immediately in DC/OS UI, it is helpful to use npm link.
- Run
npm run dist-src
in yourreactjs-components
directory. - Run
npm link
in yourreactjs-components
directory. - Run
npm link reactjs-components
in yourdcos-ui
directory. - Run
export REACTJS_COMPONENTS_LOCAL=true; npm start
to start the Webpack dev server with the proper configuration variable. - After any changes are made to
reactjs-components
, runnpm run dist-src
in thereactjs-components
directory.