Demonstrates a basic deployed sample webapp on AWS https://sveltekit-adapter-aws-basic-demo.mikebild.com using SvelteKit Adapter AWS.
git clone [email protected]:MikeBild/sveltekit-adapter-aws-basic-example.git
cd sveltekit-adapter-aws-basic-example
yarn add aws-cdk sveltekit-adapter-aws
yarn && yarn build
svelte.config.js
import { adapter } from 'sveltekit-adapter-aws';
import preprocess from 'svelte-preprocess';
export default {
preprocess: preprocess(),
kit: {
adapter: adapter({
autoDeploy: true,
FQDN: 'sveltekit-adapter-aws-basic-demo.example.com',
stackName: 'sveltekit-adapter-aws-basic-demo'
})
}
};