-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Showing
4 changed files
with
28 additions
and
11 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
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
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
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,17 +1,34 @@ | ||
# nextjs | ||
# `@ory/nextjs` | ||
|
||
This library was generated with [Nx](https://nx.dev). | ||
This package contains the Next.js SDK for Ory. It provides a set of React | ||
components, server-side components, and hooks to interact with the Ory | ||
ecosystem. | ||
|
||
## Building | ||
Supports both app and page routers. | ||
|
||
## Installation | ||
|
||
Run `npm install @ory/nextjs` or `yarn add @ory/nextjs` to install the package. | ||
|
||
## Examples | ||
|
||
See the [examples](../../examples) directory for examples on how to use the | ||
package. | ||
|
||
## Development | ||
|
||
This package is built using Nx. | ||
|
||
### Building | ||
|
||
Run `nx build @ory/nextjs` to build the library. | ||
|
||
## Developing | ||
### Developing | ||
|
||
Run `nx dev @ory/nextjs` to watch the source code for changes and continuously | ||
build the library. | ||
|
||
## Running unit tests | ||
### Running unit tests | ||
|
||
Run `nx test @ory/nextjs` to execute the unit tests via | ||
[Jest](https://jestjs.io). |