tidiview / sveltekit-cloudflareworkers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SvelteKit example with Cloudflare Pages

This is the demo application created by the npm init svelte@next command. The only change is that @sveltejs/adapter-cloudflare has been installed and attached to the svelte.config.js file.

Pages Deployment

Cloudflare Pages automatically deploys this repository.

Here are the settings for the Pages project:

  • Framework preset – None
  • Build commandnpm run build
  • Build output directory.svelte-kit/cloudflare
  • Environment variables
    • NODE_VERSION :: 16

Development

As with any SvelteKit application, you can run npm run dev for SvelteKit's local development experience.

Refer to the SvelteKit documentation for any additional information.

This repository is at start a copy of https://github.com/lukeed/pages-fullstack by https://github.com/lukeed.

About


Languages

Language:Svelte 65.9%Language:JavaScript 32.3%Language:CSS 1.6%Language:HTML 0.2%