Skip to content

Commit

Permalink
docs: update second step
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Apr 3, 2024
1 parent d74c007 commit 93e365d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,14 @@ Complete documentation - [Nuxt Auth Sanctum docs](https://manchenkoff.gitbook.io
npx nuxi@latest module add nuxt-auth-sanctum
```

2. Add `nuxt-auth-sanctum` to the `modules` section of `nuxt.config.ts`
2. Add any required configuration in your `nuxt.config.ts` file

```js
export default defineNuxtConfig({
modules: ['nuxt-auth-sanctum'],

// nuxt-auth-sanctum options (also configurable via environment variables)
sanctum: {
baseUrl: 'http://localhost:80', // Laravel API
origin: 'http://localhost:3000', // Nuxt app, by default will be used 'useRequestURL().origin'
},
});
```
Expand Down

0 comments on commit 93e365d

Please sign in to comment.