- Notifications
You must be signed in to change notification settings - Fork0
nosovk/svelte-kit-multiple-routes-example
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Illustration tosveltejs/kit#14240
inside env use those variables:
VITE_TYPE=pages#VITE_TYPE=staticVITE_ROUTE_SUFFIX=1#VITE_ROUTE_SUFFIX=2#VITE_ROUTE_SUFFIX=3#VITE_ROUTE_BASEPATH=where:VITE_TYPE defines which adapter to useVITE_ROUTE_SUFFIX defines the suffix of the routeVITE_ROUTE_BASEPATH defines the basepath of the route
VITE_TYPE=pagesVITE_ROUTE_SUFFIX=1
will lead to use of routes-pages-1 as entrypoint, and will be prepared for cloudflare pages deployment
VITE_TYPE=staticVITE_ROUTE_SUFFIX=2
will lead to use of routes-static-2 as entrypoint, and will be prepared for static files deployment
VITE_ROUTE_BASEPATH could be used to define a basepath for the routes, e.g. publishing lands to subroute
About
example of multiple routes\adapters in sveltekit
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
No releases published
Packages0
No packages published