Skip to content

A Svelte template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.

Notifications You must be signed in to change notification settings

stroblp/template-sveltejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Svelte template on Gitpod

This is a Svelte template configured for ephemeral development environments on Gitpod.

SvelteKit

If you are looking for a SvelteKit example, please use https://github.com/gitpod-io/template-sveltekit.

Next Steps

Click the button below to start a new development environment:

Open in Gitpod

Get Started With Your Own Project

A new project

Click the above "Open in Gitpod" button to start a new workspace. Once you're ready to push your first code changes, Gitpod will guide you to fork this project so you own it.

An existing project

To get started with Svelte on Gitpod, add a .gitpod.yml file which contains the configuration to improve the developer experience on Gitpod. To learn more, please see the Getting Started documentation.

In addition, please perform the following steps:

  1. Set an environment variable
    export CLIENT_URL="$(gp url 35729)/livereload.js?snipver=1&port=443"
  2. Pass the env value to the livereload module in rollup.config.js:65
    !production && livereload({
      watch: 'public',
      clientUrl: process.env.CLIENT_URL
    }),
    This will set CLIENT_URL with the workspace url of 35729 (default port for livereload).

About

A Svelte template, configured for Gitpod (www.gitpod.io) to give you pre-built, ephemeral development environments in the cloud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.8%
  • CSS 11.4%
  • Svelte 5.8%
  • HTML 5.0%