Skip to content

Gotchas

Joshua Amaju edited this page Mar 22, 2025 · 4 revisions
  • Every local asset (intended to be part of the build process) should be a relative path i.e <link rel="stylesheet" href="./style.css" />. Assets that start with /style.css are presumed to the static assets in the static directory.

  • Always include the <Head /> component at your page root if you use the svelte scope style tag or <svelte:head></svelte:head> tag at any point in your component hierarchy, to inject the output in the page head.

Clone this wiki locally