This project aims to implement a basic single page website to display a list of user links.
You should change your values in src/values.ts and update the image in
static/favicon.png.
Note 1: Provide a circular 96x96 image for best performance since higher res is useless.
Note 2: If you upgrade the project, ensure that these files are skipped!
We use pnpm but you should be able to use any package manager.
- Install dependencies:
pnpm i - Start a development server:
pnpm dev
Once you're ready to deploy, you can follow these steps.
- Install dependencies:
pnpm i - Start a development server:
pnpm build - Ensure everything looks good:
pnpm preview
- Install the adapter:
pnpm i -D @sveltejs/adapter-cloudflare - Edit
svelte.config.js:- import adapter from '@sveltejs/adapter-auto'; + import adapter from '@sveltejs/adapter-cloudflare';
- Deploy to Cloudflare pages!