@celery/ui-components v2.0.6
UI Components
Reusable UI components
Styleguide
npm installnpm run build- Open
build/index.htmlin browser
Usage
You must be an approved npm user for the @celery namespace/private modules.
npm install @celery/ui-componentsConfig vs Index
All components come with at least config.less and index.less. 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.
Development
npm install
npm run build-watchThis will watch the components, mixins, and 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.
Deploying
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 publishTODO
- Livereload styles
- Express server to serve styleguide
- Migrate more components from other projects
License
MIT
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago