【文件属性】:
文件名称:storybook-next-ts-template:Storybook,Next,Typescript,SCSS和Jest的模板
文件大小:393KB
文件格式:ZIP
更新时间:2021-02-03 13:52:48
typescript jest nextjs templates scss
故事书,Next,Typescript,SCSS和Jest的模板
这个简单的指南将帮助您设置Storybook , Next , Typescript , SCSS和Jest 。
您可以在上找到完整的教程 :closed_book: 或
:white_heavy_check_mark: 入门
这些说明将为您提供在本地计算机上运行并运行的项目的副本,以进行开发和测试。
:hammer_and_pick_selector: 安装
# Clone this repository
git clone https://github.com/trinwin/storybook-next-ts-template
# Go into the repository
cd storybook-next-ts-template
# Install client dependencies
yarn install
# Start client on localhost:3000
yarn run dev
# Start Storybook
yarn storybook
# Run your test
【文件预览】:
storybook-next-ts-template-master
----config()
--------setup.js(133B)
----.storybook()
--------preview.js(58B)
--------main.js(181B)
--------next-preset.js(982B)
----package.json(1KB)
----babel.config.json(563B)
----jest.config.js(1023B)
----package-lock.json(756KB)
----pages()
--------api()
--------index.tsx(122B)
----tsconfig.json(597B)
----next-env.d.ts(75B)
----.gitignore(362B)
----components()
--------Button.tsx(124B)
--------Button.stories.tsx(282B)
--------__test__()
----styles()
--------global.scss(346B)
----public()
--------vercel.svg(1KB)
--------favicon.ico(15KB)
----README.md(2KB)
----yarn.lock(578KB)
网友评论
相关文章
- next-typescript-jest-storybook-starter:Next.js的入门项目,使用TypeScript,样式组件,Jest和Storybook
- gatsby-typescript-emotion-storybook:Gatsby Starter:TypeScript + Emotion + Storybook + React Intl + SVGR + Jest
- next-typescript-storybook:带有Storybook的TypeScript中的简约NextJS
- ui-react-module-typescript-storybook-jest:Typescript,React,UI组件模块库,JEST tesing,Storybook渲染