Demo SvelteKit application running on Cloudflare Pages
SvelteKit example with Cloudflare Pages is a demo application created using the npm init svelte@next command. The application has been modified to include the @sveltejs/adapter-cloudflare package, which allows for easy deployment on Cloudflare Pages. The application can be deployed automatically on Cloudflare Pages.
To install the SvelteKit example with Cloudflare Pages, follow these steps:
npm init svelte@next
to initialize the project.npm install @sveltejs/adapter-cloudflare
.npm run build
..svelte-kit/cloudflare
.NODE_VERSION
with a value of 16.The SvelteKit example with Cloudflare Pages is a demonstration of how to deploy a SvelteKit application on Cloudflare Pages. With the added @sveltejs/adapter-cloudflare package, the deployment process becomes seamless. By following the installation guide provided, users can easily set up and deploy their own SvelteKit applications on Cloudflare Pages.