filesystemRoutingRoot
The filesystemRoutingRoot
setting allows you to change the Filesystem Routing URL. It's usually used for domain-driven file structure.
⚠️Don't usefilesystemRoutingRoot
to change the Base URL, see Guides > Base URL instead.
// /marketing/+config.js
export default {
filesystemRoutingRoot: '/'
}
PROJECT FILES URL
=============================== ======
/marketing/pages/index/+Page.js /
/marketing/pages/about/+Page.js /about
/marketing/pages/jobs/+Page.js /jobs