Svelte starter with Typescript, Tailwindcss, routing & lazy loaded routes – IE11 compatible :: Mihai Saru

1. Prerequisites: node (used here v14.15.0) 2. Project initialisation with Typescript Init the project (named here svelte-project-starter) using degit:
npx degit sveltejs/template svelte-project-starter Navigate inside the directory of the newly created project:
cd ./svelte-project-starter Convert the project to Typescript:
node scripts/setupTypeScript.js Install the node modules:
npm i (Optional) Add Prettier config: It’s useful to first install prettier-plugin-svelte:
npm i…