基于 Next.js、React 和 GraphQL 构建高性能网站

该项目演示如何利用 Next.js、React 和 GraphQL 构建高性能网站,并作为新项目的起点。

克隆仓库

git clone git@github.com:atherosai/next-react-graphql-apollo-hooks.git

安装依赖

为确保依赖版本一致性,请使用 npm ci 命令安装依赖,该命令会读取 package-lock.json 文件。

Node.js 版本

建议使用最新的 Node.js LTS 版本,尽管该项目可能兼容旧版本。

js,具有react钩子graphql实现和自动静态类型生成的typescript高性能样板
next-react-graphql-apollo-hooks:React,Apollo,Next.js,GraphQL,Node.js,具有React钩子GraphQL实现和自动静态类型生成的TypeScript高性能样板 预估大小:118个文件
file
.eslintrc 1016B
file
.babelrc 39B
file
config.js 406B
file
next.config.js 2KB
file
package.json 4KB
file
package-lock.json 781KB
file
.env.example 112B
file
.graphqlrc 66B
file
production-staging.env 113B
file
production-production.env 116B
file
production-local.env 125B
file
test-local.env 120B
file
development-local.env 126B
file
.gitignore 129B
file
SUBSCRIBE.graphql 109B
file
SUBSCRIPTIONS.graphql 89B
file
manifest.json 1KB
file
favicon.ico 33KB
file
.eslintignore 53B
file
.editorconfig 217B
zip 文件大小:2.09MB