mirror of https://github.com/sveltejs/svelte
parent
51a9c6e765
commit
e508207929
@ -1,7 +1,8 @@
|
||||
<script lang="ts">
|
||||
function openInEditor(){
|
||||
function openInEditor() {
|
||||
fetch('./__open-in-editor?file=src/App.svelte');
|
||||
}
|
||||
</script>
|
||||
|
||||
<h1>Demo App</h1>
|
||||
<button class="open-in-editor" on:click={openInEditor}>edit App.svelte</button>
|
||||
|
||||
Loading…
Reference in new issue