Skip to content

realadvisor/kit-paths-base-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base path issue

npm install
npm run dev

open browser at http://localhost:3000/base/about and see 404

having that svelte.config.js jas kit.paths.base='/base'

/** @type {import('@sveltejs/kit').Config} */
const config = {
  kit: {
    // hydrate the <div id="svelte"> element in src/app.html
    target: '#svelte',

    paths: {
      base: '/base',
      assets: '',
    },
  },
};

export default config;

About

To show paths base issue on sveltekit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published