【文件属性】:
文件名称:hackday-taskbox
文件大小:546KB
文件格式:ZIP
更新时间:2021-03-26 19:40:10
CSS
Chromatic的Storybook React简介模板
该模板随附了主要的React和Storybook配置文件,您需要它们来快速启动和运行。
:bullet_train: 快速开始
创建应用程序。
使用获取此模板。
# Clone the template
npx degit chromaui/intro-storybook-react-template taskbox
安装依赖项。
导航到新站点的目录并安装必要的依赖项。
# Navigate to the directory
cd taskbox/
# Install the dependencies
yarn
打开源代码并开始编辑!
在您选择的代码编辑器中打开taskbox目录,并构建您的第一个组件!
浏览您的故事!
运行yarn storybook在http://localhost:6006上查看组件的故事
:magnifying_glass_tilted_right: 里面有什么?
快
【文件预览】:
hackday-taskbox-main
----.gitignore(323B)
----package.json(2KB)
----src()
--------storybook.test.js(75B)
--------components()
--------setupTests.js(241B)
--------assets()
--------index.js(500B)
--------logo.svg(3KB)
--------App.js(271B)
--------reportWebVitals.js(362B)
--------lib()
--------App.css(564B)
--------__snapshots__()
--------index.css(18KB)
--------App.test.js(147B)
----LICENSE(1KB)
----public()
--------robots.txt(67B)
--------logo192.png(5KB)
--------index.html(2KB)
--------favicon.ico(4KB)
--------manifest.json(492B)
--------logo512.png(9KB)
----README.md(3KB)
----.storybook()
--------main.js(238B)
--------preview.js(102B)
----yarn.lock(672KB)