mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-13 04:08:11 +00:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
27 lines
646 B
TypeScript
27 lines
646 B
TypeScript
import { defineUntypedSchema } from 'untyped'
|
|
|
|
export default defineUntypedSchema({
|
|
generate: {
|
|
/**
|
|
* The routes to generate.
|
|
*
|
|
* If you are using the crawler, this will be only the starting point for route generation.
|
|
* This is often necessary when using dynamic routes.
|
|
*
|
|
* It is preferred to use `nitro.prerender.routes`.
|
|
* @example
|
|
* ```js
|
|
* routes: ['/users/1', '/users/2', '/users/3']
|
|
* ```
|
|
* @type {string | string[]}
|
|
*/
|
|
routes: [],
|
|
|
|
/**
|
|
* This option is no longer used. Instead, use `nitro.prerender.ignore`.
|
|
* @deprecated
|
|
*/
|
|
exclude: []
|
|
}
|
|
})
|