filesystemRoutingRoot

The filesystemRoutingRoot setting allows you to change the URL root of Filesystem Routing. It's usually used for domain-driven file structure.

⚠
Don't use filesystemRoutingRoot to change the Base URL, see Routing > Base URL instead.
// /marketing/+config.js
 
export default {
  // Route to /* instead of /marketing/*
  filesystemRoutingRoot: '/'
}
PROJECT FILES                               URL
===============================             ======
/marketing/pages/index/+Page.js             /
/marketing/pages/about/+Page.js             /about
/marketing/pages/jobs/+Page.js              /jobs