【文件属性】:
文件名称:react-avancado-boilerplate:具有Typescript,ReactJS,NextJS和样式化组件的样板
文件大小:274KB
文件格式:ZIP
更新时间:2021-02-28 04:32:43
TypeScript
这是在名为的课程中使用的样板。
里面有什么?
该项目使用了很多东西,例如:
入门
首先,运行开发服务器:
npm run dev
# or
yarn dev
用浏览器打开以查看结果。
您可以通过修改pages/index.js来开始编辑页面。 页面在您编辑文件时自动更新。
指令
dev :在localhost:3000上运行您的应用程序
build :创建生产构建版本
start :使用生成的生产代码启动一个简单的服务器
lint :在所有组件和页面中运行lint
test :运行笑话来测试所有组件和页面
test:watch :在手表模式下开玩笑
storybook :在localhost:6006上运行Storybook localhost:6006
build-storybook :创建build-storybook的构建版本
了解更多
要了解有关Next.js的更多信息
【文件预览】:
react-avancado-boilerplate-main
----.eslintrc.json(906B)
----.gitattributes(35B)
----.github()
--------dependabot.yml(125B)
----public()
--------manifest.json(493B)
--------img()
----yarn.lock(557KB)
----next-env.d.ts(75B)
----next.config.js(238B)
----src()
--------pages()
--------styles()
--------components()
----.babelrc(180B)
----.vscode()
--------settings.json(145B)
----.jest()
--------setup.ts(67B)
----.storybook()
--------main.js(116B)
--------preview.js(227B)
----tsconfig.json(554B)
----jest.config.js(249B)
----.prettierrc(70B)
----README.md(2KB)
----.editorconfig(147B)
----.gitignore(462B)
----package.json(2KB)