Complete the code to import the adapter for SvelteKit.
import adapter from '@sveltejs/kit/[1]';
The adapter-static is commonly used for static site generation in SvelteKit.
Complete the code to configure the adapter in svelte.config.js.
export default {
kit: {
adapter: [1]()
}
};The imported adapter is usually named adapter, so you call it as adapter() in the config.
Fix the error in the adapter import statement.
import adapter from '@sveltejs/kit/[1]';
The correct package name uses dashes, not underscores or camelCase.
Fill both blanks to configure the adapter with options.
adapter: [1]({ pages: '[2]' })
You call the adapter function adapter() and set the pages option to the folder static.
Fill all three blanks to complete the adapter configuration with fallback.
adapter: [1]({ pages: '[2]', fallback: '[3]' })
The adapter is called adapter(), the pages folder is static, and the fallback file is index.html.
