-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1a7b12
commit 8c33f83
Showing
17 changed files
with
8,035 additions
and
5,453 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,20 @@ | ||
# TO BE WRITTEN | ||
# Plugin for generating schema documentation in Next.JS | ||
|
||
## Run the example | ||
|
||
1. Clone the repo as usual | ||
2. Run the following to install dependencies | ||
|
||
```bash | ||
npm ci && npm ci --prefix ./example | ||
``` | ||
|
||
3. Build the plugin and start the server | ||
|
||
```bash | ||
npm run start:example | ||
``` | ||
|
||
Now the example server will be available on http://localhost:3000 | ||
|
||
The schema is available in `schema/schema.graphql`. You can add types and fields, but always add a description as right now it does not catch a missing description and throws an error. |
Oops, something went wrong.