TypeScript、ReactJS、NextJS 和样式化组件样板

项目启动

  • 使用 npm run devyarn dev 启动开发服务器。
  • 在浏览器中访问 http://localhost:3000 查看应用程序。
  • 修改 pages/index.js 文件可以更改应用程序内容。

可用命令

  • dev: 启动开发服务器。
  • build: 创建生产版本。
  • start: 启动生产服务器。
  • lint: 执行代码规范检查。
  • test: 运行测试用例。
  • test:watch: 运行测试并监听文件变化。
  • storybook: 启动 Storybook 服务器。
  • build-storybook: 构建 Storybook 静态文件。
zip
boilerplate-main.zip 预估大小:72个文件
folder
boilerplate-main 文件夹
file
.eslintrc.json 922B
folder
.github 文件夹
folder
workflows 文件夹
file
ci.yml 451B
folder
public 文件夹
file
manifest.json 493B
file
favicon.ico 15KB
folder
img 文件夹
file
hero-illustration.svg 12KB
file
logo.svg 7KB
file
icon-512.png 35KB
file
logo-gh.svg 7KB
file
icon-192.png 8KB
file
sw.js 4KB
file
workbox-c2b5e142.js 18KB
file
vercel.svg 1KB
file
yarn.lock 671KB
file
next-env.d.ts 75B
folder
styles 文件夹
file
globals.css 275B
file
Home.module.css 2KB
folder
generators 文件夹
file
plopfile.js 915B
folder
templates 文件夹
file
index.tsx.hbs 167B
file
test.tsx.hbs 394B
file
stories.tsx.hbs 250B
file
styles.ts.hbs 77B
file
next.config.js 239B
folder
src 文件夹
folder
pages 文件夹
file
index.tsx 89B
file
_document.tsx 974B
file
_app.tsx 690B
folder
styles 文件夹
file
global.ts 430B
folder
components 文件夹
folder
Main 文件夹
file
index.tsx 534B
file
stories.tsx 343B
file
styles.ts 580B
file
test.tsx 548B
folder
__snapshots__ 文件夹
file
test.tsx.snap 1KB
folder
types 文件夹
file
styled-components.d.ts 217B
file
jest-styled-components.d.ts 742B
file
.babelrc 377B
folder
.vscode 文件夹
file
settings.json 114B
folder
.jest 文件夹
file
setup.ts 69B
folder
.storybook 文件夹
file
main.js 116B
file
preview.js 153B
file
tsconfig.json 554B
file
jest.config.js 249B
file
.prettierrc 75B
file
README.md 1KB
folder
storybook-static 文件夹
file
manifest.json 493B
file
runtime~main.e04cad04e15b14af8f89.bundle.js 3KB
file
index.html 1KB
folder
sb_dll 文件夹
file
storybook_ui_dll.js 7.19MB
file
storybook_ui-manifest.json 144KB
file
storybook_docs-manifest.json 124KB
file
storybook_docs_dll.js 6.18MB
file
favicon.ico 15KB
folder
img 文件夹
file
hero-illustration.svg 12KB
file
logo.svg 7KB
file
icon-512.png 35KB
file
logo-gh.svg 7KB
file
icon-192.png 8KB
file
main.c69403106206405e452d.bundle.js 13KB
file
runtime~main.e04cad04e15b14af8f89.bundle.js.map 169B
file
sw.js 4KB
file
main.e04cad04e15b14af8f89.bundle.js 20KB
file
vendors~main.e04cad04e15b14af8f89.bundle.js 1.13MB
file
runtime~main.870e8ee0658e83d05c6b.bundle.js 3KB
file
workbox-c2b5e142.js 18KB
file
iframe.html 3KB
file
main.e04cad04e15b14af8f89.bundle.js.map 153B
file
vendors~main.e22421da633baf6cfd5e.bundle.js 1006KB
file
vercel.svg 1KB
file
vendors~main.e04cad04e15b14af8f89.bundle.js.map 170B
file
vendors~main.e22421da633baf6cfd5e.bundle.js.LICENSE.txt 115B
file
vendors~main.e04cad04e15b14af8f89.bundle.js.LICENSE.txt 577B
file
.editorconfig 167B
file
.gitignore 431B
file
package.json 2KB
...
zip 文件大小:4.04MB