Reusable UI components
npm run build
You must be an approved npm user for the
@celery namespace/private modules.
npm install @celery/ui-components
Config vs Index
All components come with at least
config.less includes all the configuration/variables and mixins.
index.less actually defines the component rulesets or invokes mixins. If you do not want to include the default components, you can just include the config and use that to create your own components based on the variables and mixins.
npm install npm run build-watch
This will watch the
styleguide directories. If any of them fail to compile, you have an error.
Open the styleguide by opening
build/index.html in your browser.
Don't forget to document things in the comments of the index files. Use Styledown syntax.
In order to publish, you must be a part of the @celery npm group.
git checkout master git pull npm version [major/minor/patch] git push npm publish
- Livereload styles
- Express server to serve styleguide
- Migrate more components from other projects