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.
An online demonstration is available at https://sveltekit-legacy-demo.pages.dev .
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
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.
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.