sveltekit-legacy-demo

Sveltekit Legacy Demo

A demo of using SvelteKit with legacy support

SvelteKit Legacy Demo

This is a demo for the proposed legacy support of SvelteKit, introduced in PR sveltejs/kit#6265.

This demo is based on create-svelte, and was addapted to support legacy browsers.

Currently it's tested manually only on IE11 (and works as well on modern browsers of course).

More info are in the referenced PR.

Online Preview

An online demonstration is available at https://sveltekit-legacy-demo.pages.dev .

Developing

Once you've cloned the project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.

Test

This project is tested with BrowserStack. You can see the build status on the BrowserStack dashboard, and you can see some of the automation results on the Percy page.

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes