mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-15 10:24:50 +00:00
26 lines
601 B
TypeScript
26 lines
601 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']
|
|
* ```
|
|
*/
|
|
routes: [],
|
|
|
|
/**
|
|
* This option is no longer used. Instead, use `nitro.prerender.ignore`.
|
|
*/
|
|
exclude: []
|
|
}
|
|
})
|