Boilerplate template for Sappert + Tailwind with some minimal support of IE
npm install # or yarn!
npm run watch:tailwind # in a separate terminal window
npm run dev # in a separate terminal window
Open up localhost:3000 and start clicking around.
Inspired by:
- Greate Sapper template from Yarrney
- The sapper.svelte.dev project.
As Sapper doesn't support legacy browsers, like IE, the main goal of that minimal support is to provide good-looking "static" website for that users who use IE.
To achieve this the following changes were done:
- Polifill.io integration
- shimport@ hot fix was applied. Just one line was added to shimport@1.0.1 see this commit
As a result, there are no any javascript errors when visitors browse Sapper with IE. They can use navigation, provided by Sapper, and see all content which is generated with SSR.