Replies: 2 comments
-
Ok, by setting fallback to index.html I was able to get things working: kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: 'index.html'
}),
prerender: { entries: [] }
} ... is that desired? I thought fallback was intended for an error page...? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh, and either way the build log doesn't appear to mention the copy/rename of the app.html -> index.html as a transformed entity, so I'm checking for it in the build directory manually. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Set up a new SvelteKit project. Followed the simple instructions for creating a new skeleton project and configuing adapter-static in SPA-only mode.
When I run
npm run build
it generates the app but there is no index.html to bootstrap things.I have created a repo at https://github.com/wiverson/static-spa-test to illustrate/make easier to for someone else to review.
I believe this was working properly when I wrote up notes a month ago, so I'm a bit confused as to what changed...?
Log output
Beta Was this translation helpful? Give feedback.
All reactions