Skip to content

Commit

Permalink
chore(docs): Add headline and bit of intro in nexus-schema-users (#1288)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Kuhrt <jason.kuhrt@dialogue.co>
  • Loading branch information
janpio and Jason Kuhrt committed Jul 27, 2020
1 parent fec8496 commit 03ec1bc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions website/content/011-adoption-guides/010-nexus-schema-users.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ staticLink: false

This guide is for you if you use `@nexus/schema` on a project and are curious about if you should upgrade to the framework and/or how.

Nexus is built on top of `@nexus/schema` adding many opinions and features. If you haven't you should check out the [tutorial](/getting-started/tutorial) and read the [introduction](/). But here's a quick rundown of the differences:
Nexus is built on top of `@nexus/schema` adding many opinions and features. If you haven't you should check out the [tutorial](/getting-started/tutorial) and read the [introduction](/).

### Differences between Nexus and Nexus Schema

Here's a quick rundown of the differences:

| feature | `nexus` | `@nexus/schema` |
| -------------------------------------------------------------------- | ------- | --------------- |
Expand Down Expand Up @@ -42,6 +46,8 @@ Nexus is built on top of `@nexus/schema` adding many opinions and features. If y

## Migrating

These are the steps to migrate from `@nexus/schema` to `nexus`:

### Dependencies

Remove `@nexus/schema` and add the latest `nexus` in its place. Also remove dependency `graphql` as `nexus` bundles it.
Expand Down Expand Up @@ -238,7 +244,7 @@ import { log } from 'nexus'

### Prisma

If you were a `nexus-prisma` user, you will now become a [`nexus-plugin-prisma`](https://github.com/graphql-nexus/plugin-prisma) user. Install the plugin, and enable it in your project.
If you were a `nexus-prisma` user, you will now become a [`nexus-plugin-prisma`](https://github.com/graphql-nexus/plugin-prisma) user - it's the same thing with a different name. Install the plugin, and enable it in your project.

```json
---+++package.json
Expand Down

0 comments on commit 03ec1bc

Please sign in to comment.