Skip to content

Static Site i18n  #37

Open
Open
@marksteven

Description

@marksteven

Hello Ivan,
I would like to be able to build a static page Sveltekit site and also use your typesafe-i18n

So if I am to use sveltejs/adapter-static
on the svelte.config.js page it requires
import adapter from "@sveltejs/adapter-static";

and the adapter to build all the pages
adapter: adapter({
pages: "build",
assets: "build",
fallback: undefined,
precompress: false,
strict: true,
}),

plus
export const prerender = true;
on the main +layout.js page

How would I go about integrating typesafe-i18n into site?
I am thinking it may not possible but hoping you have a solution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions