rename .html files to .svelte

This commit is contained in:
Rich Harris
2019-02-08 11:40:30 -05:00
parent 84a0ae562f
commit 14ace57612
56 changed files with 1 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
<script>
import { onMount } from 'svelte';
export let barLink = false;
onMount(() => {
barLink = true
});
</script>
<h1>A tall page</h1>
<a href="tall-page#foo">scroll to foo</a>
<div style="height: 9999px"></div>
<div id="foo">
<a href="another-tall-page">link</a>
<a href="another-tall-page" sapper-noscroll>link</a>
{#if barLink}
<a href="another-tall-page#bar">link</a>
{/if}
</div>