Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bloom-294/taskbox
storybook tutorial
https://github.com/bloom-294/taskbox
chromatic github-actions react storybook
Last synced: about 1 month ago
JSON representation
storybook tutorial
- Host: GitHub
- URL: https://github.com/bloom-294/taskbox
- Owner: bloom-294
- License: mit
- Created: 2024-07-22T04:09:17.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-07-23T04:11:56.000Z (4 months ago)
- Last Synced: 2024-09-29T22:41:43.743Z (about 2 months ago)
- Topics: chromatic, github-actions, react, storybook
- Language: JavaScript
- Homepage: https://storybook.js.org/tutorials/intro-to-storybook/react/en/get-started/
- Size: 3.42 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Chromatic's Intro to Storybook React templateThis template ships with the main React and Storybook configuration files you'll need to get up and running fast.
## π Quick start
1. **Create the application.**
Use [degit](https://github.com/Rich-Harris/degit) to get this template.
```shell
# Clone the template
npx degit chromaui/intro-storybook-react-template taskbox
```1. **Install the dependencies.**
Navigate into your new siteβs directory and install the necessary dependencies.
```shell
# Navigate to the directory
cd taskbox/# Install the dependencies
yarn
```1. **Open the source code and start editing!**
Open the `taskbox` directory in your code editor of choice and building your first component!
1. **Browse your stories!**
Run `yarn storybook` to see your component's stories at `http://localhost:6006`
## π What's inside?
A quick look at the top-level files and directories included with this template.
.
βββ .storybook
βββ node_modules
βββ public
βββ src
βββ .eslintrc.cjs
βββ .gitignore
βββ .index.html
βββ LICENSE
βββ package.json
βββ yarn.lock
βββ vite.config.js
βββ README.md1. **`.storybook`**: This directory contains Storybook's [configuration](https://storybook.js.org/docs/react/configure/overview) files.
2. **`node_modules`**: This directory contains all of the modules of code that your project depends on (npm packages).
3. **`public`**: This directory will contain the development and production build of the site.
4. **`src`**: This directory will contain all of the code related to what you will see on your application.
5. **`.eslintrc.cjs`**: This file is the configuration file for [ESLint](https://eslint.org/), a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
6. **`.gitignore`**: This file tells git which files it should not track or maintain during the development process of your project.
7. **`.index.html`**: This is the HTML page that is served when generating a development or production build.
8. **`LICENSE`**: The template is licensed under the MIT licence.
9. **`package.json`**: Standard manifest file for Node.js projects, which typically includes project specific metadata (such as the project's name, the author among other information). It's based on this file that npm will know which packages are necessary to the project.
10. **`yarn.lock`**: This is an automatically generated file based on the exact versions of your npm dependencies that were installed for your project. **(Do not change it manually).**
11. **`vite.config.js`**: This is the configuration file for [Vite](https://vitejs.dev/), a build tool that aims to provide a faster and leaner development experience for modern web projects.
12. **`README.md`**: A text file containing useful reference information about the project.
## Contribute
If you encounter an issue with the template, we encourage you to open an issue in this template's repository.
## Learning Storybook
1. Read our introductory tutorial at [Learn Storybook](https://storybook.js.org/tutorials/intro-to-storybook/react/en/get-started/).
2. Learn how to transform your component libraries into design systems in our [Design Systems for Developers](https://storybook.js.org/tutorials/design-systems-for-developers/) tutorial.
3. See our official documentation at [Storybook](https://storybook.js.org/).