sapper-template icon indicating copy to clipboard operation
sapper-template copied to clipboard

Starter template for Sapper apps

Results 35 sapper-template issues
Sort by recently updated
recently updated
newest added

Node v14.16.0 Npm 6.14.11 I followed the documentation and ran `npx degit "sveltejs/sapper-template#rollup" my-app cd my-app npm install node scripts/setupTypeScript.js npm install npm run build` I expected the build to...

This pull request fixes a few TypeScript errors that occur after running the `node scripts/setupTypeScript.js` script. ![image](https://user-images.githubusercontent.com/5256416/126526819-8ec067bc-8449-4306-91c5-cd0d087875dd.png) CC: @Rich-Harris

## Description Add `cache` to workflows using `actions/setup-node` ## Context `setup-node` GitHub Action just released a new option to add cache to steps using it. You can find the details...

This causes errors with TypeScript. See here: https://github.com/lukeed/polka/pull/163 EDIT: This is the end result of my investigation with this https://github.com/sveltejs/sapper-template/issues/311 This doesn't fix the TypeScript error that occurs due to...

Before this change, upgrading this project to typescript and enabling strict null checks would throw the following error : ``` > @rollup/plugin-typescript TS2322: Type 'Element | null' is not assignable...

Currently the template rollup config emits CSS twice if you are running build with the `--legacy` flag. This is resulting in duplicate css getting served to legacy browsers like IE....

The current starting Sapper template has some things missing for a 100s Lighthouse score. This PR fixes those issues

Fixes a problem where elements were being duplicated upon re-hydration on slower connections. See https://github.com/sveltejs/sapper/issues/1725

`npx degit "sveltejs/sapper-template#rollup" sapper-app` `cd sapper-app` `npm install` `npm run dev` ``` d:\Projects\sapper-app>npm run dev > [email protected] dev d:\Projects\sapper-app > sapper dev ✗ server Unexpected character '�' (Note that you...