-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nuxt.config.ts
21 lines (20 loc) · 886 Bytes
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
export default defineNuxtConfig({
// Get all the pages, components, composables and plugins from the parent theme
extends: ['./woonuxt_base'],
components: [{ path: './components', pathPrefix: false }],
/**
* Depending on your servers capabilities, you may need to adjust the following settings.
* It will affect the build time but also increase the reliability of the build process.
* If you have a server with a lot of memory and CPU, you can remove the following settings.
* @property {number} concurrency - How many pages to prerender at once
* @property {number} interval - How long to wait between prerendering pages
* @property {boolean} failOnError - This stops the build from failing but the page will not be statically generated
*/
nitro: {
prerender: {
concurrency: 10,
interval: 1000,
failOnError: false,
},
},
});