Revel is the design system used by designers and developers at Rebilly to build clean, elegant, and performant experiences for its merchants.
yarn && yarn docs:dev
Command | Description |
---|---|
dev |
Run the dev server for the component documentation. See docs:dev . |
docs:dev |
Run the dev server for the component documentation. |
docs:build |
Build component documentation as a static HTML site. |
build |
Build the library. |
build:watch |
Build the library and rebuild on file changes. |
playground:dev |
Run the playground dev server (see Playground). |
lint:no-fix |
Run eslint. |
lint |
Run eslint and automatically fix issues. |
test:unit |
Run the unit tests. |
test:unit:watch |
Run the unit tests on changed files, in watch mode. |
Sometimes it is easier to test a complex configuration directly in a vue application, rather than through our vuepress documentation.
For this, we provide a playground server which can be run with:
yarn playground:dev
Note: You must copy the playground component file
/src/playground/Playground-copyme.vue
to Playground.vue
.