Skip to content

Template for building basic applications with Svelte

Notifications You must be signed in to change notification settings

holen82/Timo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svelte app with Gitpod setup

Gitpod ready-to-code

This is a project template for Svelte apps.

Special config for Gitpod to make rollup work

Rollup needs to know how to reach the livereload endpoint. To configure that we need to do two things in our config:

  1. set an environment variable
export CLIENT_URL="$(gp url 35729)/livereload.js?snipver=1&port=443"
  1. 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).

PL 2020-2021: "league_id":2790 Team: "team_id":49, "name":"Chelsea" https://rapidapi.com/api-sports/api/api-football?endpoint=apiendpoint_ebdc9e62-898f-4a32-95a8-582a53f2266a

About

Template for building basic applications with Svelte

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.8%
  • Svelte 17.9%
  • CSS 9.2%
  • HTML 4.1%