【文件属性】:
文件名称:wongames-client
文件大小:304KB
文件格式:ZIP
更新时间:2021-04-03 05:36:19
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的更多信息
【文件预览】:
wongames-client-master
----.eslintrc.json(834B)
----.gitignore(437B)
----.babelrc(407B)
----package.json(2KB)
----src()
--------components()
--------types()
--------styles()
--------pages()
----next.config.js(273B)
----jest.config.js(284B)
----public()
--------manifest.json(494B)
--------img()
----tsconfig.json(506B)
----.jest()
--------setup.ts(67B)
----generators()
--------templates()
--------plopfile.js(871B)
----.prettierignore(19B)
----README.md(2KB)
----next-env.d.ts(75B)
----.eslintignore(19B)
----.storybook()
--------main.js(363B)
--------preview.js(293B)
----.vscode()
--------settings.json(105B)
----.husky()
--------.gitignore(2B)
--------pre-commit(71B)
----.editorconfig(166B)
----.prettierrc(70B)
----yarn.lock(623KB)