This preconfigured this template with the following:
- It's set up to only output static files and not depend on any particular server.
- It assumes TypeScript everywhere.
- It enables ESLint and automatic code formatting.
- It enables SCSS.
- It enables Markdown (using MDsveX, which lets you mix Markdown and Svelte in the same file).
- It includes opinionated global styles to get beautiful text by default.
- It includes HTML minification.
- It includes a GitHub Actions publishing workflow to deploy Github Pages.
npm install
: Install dependenciesnpm start
: Start dev servernpm run build
: Production buildnpm run serve
: Serve production build for testing
At minimum, do this to customize the site for your purposes:
- Find and replace
SvelteKitTemplate
with the name of your site - Change the package.json project name to repository name. This is needed for properly deploying for Github pages.
- Update the copyright information in
src/routes/+layout.svelte
- Replace image assets in
static/images/app
with appropriate logos for your site - Give yourself credit in
humans.txt