Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdsteinbach/design-system
Storybook example design system
https://github.com/jdsteinbach/design-system
Last synced: 2 days ago
JSON representation
Storybook example design system
- Host: GitHub
- URL: https://github.com/jdsteinbach/design-system
- Owner: jdsteinbach
- Created: 2020-05-25T23:01:52.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T22:40:33.000Z (almost 3 years ago)
- Last Synced: 2024-10-21T19:02:03.659Z (3 months ago)
- Language: JavaScript
- Size: 2.97 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Design System (Vue)
## Project Setup
First thing you'll do after cloning the repo is to install node dependencies. You'll also want to run this after pulling changes from Gitlab.
```sh
npm install
```## Local Component Dev in Storybook
### Run a local Storybook server
Individual components have [Storybook](https://storybook.js.org/) stories allowing a dev to work on them in a sandbox-type environment. You can run it with the following command:
```sh
npm run storybook
```### Build Storybook for Style Guide Deploys
Storybook will build a static instance in `.style-guide/` which can be deployed to any server.
```sh
npm run build:storybook
```The `.style-guide/` dir is ignored (should be built by a deploy automation) but you can confirm a successful build locally. Run the build command above, then run:
```sh
npx http-server .style-guide
```