0.0.2-alpha.2 • Published 5 years ago
@modernmsg/slick-ui v0.0.2-alpha.2
Slick
"Slick!" is a component library and design system developed by Modern Message, based on Material-UI
Instructions for LOCAL development
- Install
slick-uilocally- Clone copy of repo from GitHub
- https://github.com/modernmsg/slick-ui
gh repo clone modernmsg/slick-ui
- Run
yarn build:dev- This installs node_modules, builds the project, and runs linter and tests
- Run
yarn testoryarn lintto check for issues - COMING SOON:
yarn storybook
- Clone copy of repo from GitHub
- Yarn Linking
- Because of shared dev and peer dependencies (like
reactandmaterial-ui), you have to do some special things locally to point your application towards theslick-uilibrary for local Slick development in conjunction with your application. - Delete
node_modulesin both theslick-uiandmodernmsg/clientdirectories (or wherever your local app is) - run
yarn installinmodernmsg/client - run
yarn linkinslick-ui - run
yarn link @slick-ui/coreinmodernmsg/client - DO NOT run
yarn installagain or the link may be broken and you will have to repeat these steps. You should just be able to build either or both projects from here on out.
- Because of shared dev and peer dependencies (like
- Hot-Reloading For ModernMsg/Client
- Run the application in watch mode a you normally would (e.g.
foreman s -f Procfile.hotetc.) - In the slick-ui repo, run
yarn buildto re-build the distributed files on file changes (you'll need to do this manually), and foreman should pick up the updates immediately and re-build the app. This is because Yarn Link is pointing to the new build in the slick repo
- Run the application in watch mode a you normally would (e.g.
0.0.2-alpha.2
5 years ago
0.0.2-alpha
5 years ago