-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Is there a way to set base Path ? I've added base path to svelte.config, but sidebar menu links to /doc/welcomeinstead of /mybase/doc/welcome
import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = {
extensions: ['.svelte', '.md'],
kit: {
adapter: adapter(),
paths: {
base: process.argv.includes('dev') ? '' : process.env.BASE_PATH
},
prerender: {
entries: ['*'],
handleMissingId: 'warn'
}
}
};
export default config;Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels