File tree Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Expand file tree Collapse file tree 1 file changed +17
-4
lines changed Original file line number Diff line number Diff line change 3636
3737### Step 1: Installation
3838
39- Choose your preferred package manager :
39+ Choose your GraphQL framework and install required dependencies :
4040
41+ ** For GraphQL Yoga:**
4142``` bash
4243# npm
43- npm install nitro-graphql
44+ npm install nitro-graphql graphql-yoga graphql
4445
4546# pnpm (recommended)
46- pnpm add nitro-graphql
47+ pnpm add nitro-graphql graphql-yoga graphql
4748
4849# yarn
49- yarn add nitro-graphql
50+ yarn add nitro-graphql graphql-yoga graphql
51+ ```
52+
53+ ** For Apollo Server:**
54+ ``` bash
55+ # npm
56+ npm install nitro-graphql @apollo/server graphql
57+
58+ # pnpm (recommended)
59+ pnpm add nitro-graphql @apollo/server graphql
60+
61+ # yarn
62+ yarn add nitro-graphql @apollo/server graphql
5063```
5164
5265### Step 2: Setup Your Project
You can’t perform that action at this time.
0 commit comments