Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-kanri committed Jul 21, 2024
1 parent af4f570 commit ed6963c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default defineNuxtConfig({
});
```

3. Create a `session.d.ts` file in the server folder under the project directory and and add the following code:
3. Create a `session.d.ts` file in the `server` folder under the project directory and and add the following code:

```typescript
declare module '@kikiutils/nuxt-session' {
Expand Down Expand Up @@ -76,6 +76,8 @@ Except for the configuration method mentioned above, all other options remain th
Please refer to this [link](https://github.com/kiki-kanri/nitro-session?tab=readme-ov-file#usage) for related usage.

> [!IMPORTANT]
> This package is intended for use in the `server` folder of Nuxt. For more information about this folder, please see this [link](https://nuxt.com/docs/guide/directory-structure/server).
>
> Only requests with paths starting with `/api` will handle sessions.
## Server Runtime Utils
Expand Down

0 comments on commit ed6963c

Please sign in to comment.