sapper-template
sapper-template copied to clipboard
Running Chrome Audit (Lighthouse) results in SEO missing meta description
Steps
- Run the following commands to clone, install, build, and run:
npx degit "sveltejs/sapper-template#rollup" my-app
cd my-app
npm install
npm run dev
- Open http://localhost:3000 in Chrome.
- Open Chrome Developer Tools.
- Click the Audit tab and run and click the "Run audits" button.
Expected Results
SEO gets a score of 100.
Actual Results

Environment / Dependencies
- macOS Catalina (10.15.1)
- Sapper 0.27.9
- Svelte 3.15.0
- Rollup 1.27.5
Workaround
Add a "TODO" meta description under <svelte:head> in the following files:
- src/routes/about.svelte
- src/routes/index.svelte
- src/routes/blog/index.svelte
- src/routes/blog/[slug].svelte
<svelte:head>
<meta name="description" content="TODO">
</svelte:head>
Results
A perfect score given the only negative is not being able to run HTTP/2 which is not much of viable option running locally.

Moved from sapper repo to sapper-template repo.