Skip to main content

Installation

You can install packages.

npm install @kazekyo/nau
npm install --save-dev @kazekyo/nau-graphql-codegen-preset

You need Apollo Client and GraphQL Code Generator to use Nau. And GraphQL Code Generator plugins such as typescript, typescript-operations, typed-document-node, fragment-matcher, and schema-ast are strongly recommended.

If you have not installed them, do so.

npm install @apollo/client graphql
npm install --save-dev @graphql-codegen/cli @graphql-codegen/fragment-matcher @graphql-codegen/schema-ast @graphql-codegen/typed-document-node @graphql-codegen/typescript @graphql-codegen/typescript-operations