Skip to content

Commit

Permalink
Moved url queries to useState instead of ref to reduce chance of memo…
Browse files Browse the repository at this point in the history
…ry leaks.
  • Loading branch information
scottyzen committed Nov 23, 2023
1 parent f141ebe commit f50d817
Show file tree
Hide file tree
Showing 14 changed files with 2,325 additions and 2,539 deletions.
17 changes: 11 additions & 6 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,19 @@ export default defineNuxtConfig({
// Get all the pages, components, composables and plugins from the parent theme
extends: ['./woonuxt_base'],

// 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.
/**
* 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, // How many pages to prerender at once
interval: 1000, // How long to wait between prerendering pages
failOnError: false, // This stops the build from failing but the page will not be statically generated
concurrency: 10,
interval: 1000,
failOnError: false,
},
},
});
Loading

0 comments on commit f50d817

Please sign in to comment.