npm create svelte@latest (select: demo app | TypeScript | ESLint+Prettier)
npm install
npm run dev -- --open
npm install aws-amplify
npm install -g @aws-amplify/cli
or npm install @aws-amplify/cli
or curl -sL https://aws-amplify.github.io/amplify-cli/install | bash && $SHELL
amplify configure
amplify init
amplify add auth
amplify push
amplify console
create manually in src folder: aws-exports.ts
create file: src/routes/+layout.ts add following script:
in file: src/routes/login/+page.svelte add:
in src/app.html add in the head:: %sveltekit.head%