This template ships with the main React configuration files you'll need to get up and running fast.
-
Create the application.
Use degit to get this template.
# Clone the template npx degit chromaui/learnstorybook-design-system-template learnstorybook-design-system
-
Install the dependencies.
Navigate into your new siteβs directory and install the necessary dependencies.
# Navigate to the directory cd learnstorybook-design-system/ # Install the dependencies yarn
-
Open the source code and start editing!
Open the
learnstorybook-design-system
directory in your code editor of choice and building your first component!
A quick look at the top-level files and directories included with this template.
.
βββ node_modules
βββ src
βββ .babelrc.json
βββ .gitignore
βββ .prettierignore
βββ .prettierrc
βββ LICENSE
βββ package.json
βββ rollup.config.mjs
βββ vite.config.js
βββ yarn.lock
βββ README.md
-
node_modules
: This directory contains all of the modules of code that your project depends on (npm packages). -
src
: This directory will contain all of the code related to what you will see on your application. -
.babelrc.json
: This file tells babel which presets and plugins to use when transforming your code. -
.gitignore
: This file tells git which files it should not track or maintain during the development process of your project. -
.prettierignore
: This file tells prettier which files it should not format. -
.prettierrc
: This file tells prettier which rules to use when formatting your code. -
LICENSE
: The template is licensed under the MIT licence. -
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. -
rollup.config.mjs
: This file tells rollup which plugins to use when bundling your code. -
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). -
vite.config.js
: This file tells Vite which plugins to use when bundling your code. -
README.md
: A text file containing useful reference information about the project.
If you encounter an issue with the template, we encourage you to open an issue in this template's repository.
- Read our introductory tutorial over at Storybook tutorials.
- Learn how to transform your component libraries into design systems in our Design Systems for Developers tutorial.
- See our official documentation at Storybook.