Nuxt/packages/schema/src/config/router.ts

19 lines
523 B
TypeScript

import { defineUntypedSchema } from 'untyped'
export default defineUntypedSchema({
router: {
/**
* Additional options passed to `vue-router`.
*
* Note: Only JSON serializable options should be passed by nuxt config.
*
* For more control, you can use `app/router.options.ts` file.
*
* @see [documentation](https://router.vuejs.org/api/interfaces/routeroptions.html).
* @type {typeof import('../src/types/router').RouterConfigSerializable}
*
*/
options: {}
}
})