Home

Payday. Another hot one!

Published: 2023-08-15

todo

task #
switch to Mint Mobile
call govi
list categories on blog

Sveltekit Static Adapter

Added sveltkeit adapter for static. Works.

Did NOT have to add this to any +layout pages:

comst prerender = true;

Import the package:

$ npm i -D @sveltejs/adapter-static

Had to add these options:

// svelte.config.js
import adapter from '@sveltejs/adapter-static';
 
export default {
  kit: {
    adapter: adapter({
      // default options are shown. On some platforms
      // these options are set automatically — see below
      pages: 'build',
      assets: 'build',
      fallback: undefined,
      precompress: false,
      strict: true
    })
  }
};