【文件属性】:
文件名称:my-trips
文件大小:272KB
文件格式:ZIP
更新时间:2021-03-07 01:47:02
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的更多信息
【文件预览】:
my-trips-main
----.eslintrc.json(834B)
----.github()
--------workflows()
----public()
--------manifest.json(494B)
--------img()
----yarn.lock(509KB)
----next-env.d.ts(75B)
----codegen.yml(304B)
----generators()
--------plopfile.js(871B)
--------templates()
----next.config.js(237B)
----.prettierignore(19B)
----src()
--------pages()
--------styles()
--------components()
--------types()
--------graphql()
--------templates()
----.babelrc(407B)
----.vscode()
--------settings.json(105B)
----.jest()
--------setup.ts(67B)
----tsconfig.json(506B)
----jest.config.js(284B)
----.prettierrc(70B)
----README.md(2KB)
----.husky()
--------pre-commit(71B)
--------.gitignore(2B)
----.editorconfig(166B)
----.gitignore(446B)
----.eslintignore(19B)
----package.json(2KB)