svelte/sveltekit prerender
svelte.config.jsimport adapter from '@sveltejs/adapter-auto';import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';/** @type {import('@sveltejs/kit').Config} */const config = { kit: { adapter: adapter(), prerender: { crawl: true, entries: ['/', '/about', '/contact'], }, }, preprocess: vitePreprocess(),};export default config;trueprerender: {crawl: true,entries: ['/'..
Coding/Svelte,Sveltekit
2024. 7. 29. 18:27