Skip to content

Commit

Permalink
Update generating-the-client-rsc1.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
schickling authored Sep 11, 2018
1 parent f57f0e6 commit 1526189
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ endpoint: http://localhost:4000

generate:
- generator: typescript-client
output: prisma.ts
output: ./prisma-client/
```
Running `prisma generate` in the directory where that prisma.yml is located generates a Prisma client in TypeScript and stores it in a file called `prisma.ts`.
Expand All @@ -44,11 +44,11 @@ secret: mysecret42
generate:
- generator: typescript-client
output: prisma.ts
output: ./prisma-client-ts/
- generator: javascript-client
output: prisma.js
- generator: schema
output: prisma.graphql
output: ./prisma-client-js/
- generator: graphql-schema
output: ./graphql-schema/
```

## Generated code
Expand Down

0 comments on commit 1526189

Please sign in to comment.