Installation
You can install packages.
- npm
- yarn
npm install @kazekyo/nau
npm install --save-dev @kazekyo/nau-graphql-codegen-preset
yarn add @kazekyo/nau
yarn add --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
- yarn
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
yarn add @apollo/client graphql
yarn add --dev @graphql-codegen/cli @graphql-codegen/fragment-matcher @graphql-codegen/schema-ast @graphql-codegen/typed-document-node @graphql-codegen/typescript @graphql-codegen/typescript-operations