Skip to content

Commit

Permalink
docs: add nuxt 3 note
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux authored Sep 11, 2023
1 parent 8af5ea0 commit 9e5d8fb
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,22 @@
[![Codecov][codecov-src]][codecov-href]
[![License][license-src]][license-href]

> Nuxt 2 module to use router.js instead of pages/ directory
Nuxt 2 module to use router.js instead of pages/ directory

[📖 **Release Notes**](./CHANGELOG.md)

## Nuxt 3

This is now possible to extend `vue-router` with Nuxt 3 with different methods, learn more on https://nuxt.com/docs/guide/going-further/custom-routing

If you don't have the `pages/` directory, make sure to enable Vue Router with:

```ts
export default defineNuxtConfig({
pages: true
})
```

## Features

Use your own `router.js` to handle your routes into your [Nuxt.js](https://nuxtjs.org) application.
Expand Down

0 comments on commit 9e5d8fb

Please sign in to comment.