mirror of
https://github.com/kevin-DL/sapper.git
synced 2026-01-15 04:14:46 +00:00
Slot-based routing (#573)
This commit is contained in:
@@ -1 +1,7 @@
|
||||
<svelte:component this={child.component} {...child.props}/>
|
||||
<h1>{status}</h1>
|
||||
|
||||
<p>{error.message}</p>
|
||||
|
||||
{#if process.env.NODE_ENV === 'development'}
|
||||
<pre>{error.stack}</pre>
|
||||
{/if}
|
||||
@@ -1 +1 @@
|
||||
<svelte:component this={child.component} {...child.props}/>
|
||||
<slot></slot>
|
||||
Reference in New Issue
Block a user