SvelteKit Config
svelte.config.js
set SPA fallback file and output dir
import adapter from "@sveltejs/adapter-static";
const config = {
kit: {
adapter: adapter({
fallback: "index.html",
pages: 'demo'
}),
}
};
export default config;
创建时间:3/24/2023 10:41:44 AM
修改时间:3/24/2023 10:42:58 AM