Skip to content

Demo SvelteKit application running on Cloudflare Pages

Notifications You must be signed in to change notification settings

OptusGroup/pages-fullstack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Demo SvelteKit application running on Cloudflare Pages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Svelte 66.5%
  • JavaScript 22.9%
  • CSS 9.2%
  • HTML 1.4%