You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are a couple of options that won't work in Static mode. Search, tags, and Open Graph image. All that should be removed or changed for this to work in static mode. Besides that, many packages must be updated (including Svelte/kit itself, since back then it was still RC).
Doing a static version of this has been on my to-do list for a while, but I don't have an ETA.
I like the style of this repo.
I would like to deploy this to nginx, so i change
import adapter from '@sveltejs/adapter-auto';
to
import adapter from '@sveltejs/adapter-static';
and change the adaptor to
adapter: adapter({ pages: 'build', assets: 'build', fallback: 'index.html', precompresses: true, strictpermalink: false }),
after i run
npm run build
, it shows many different exceptions.So what is the corrent way to support deploye for static mode?
The text was updated successfully, but these errors were encountered: