From 9e40c0c8729bd98a5092721cac9ec05d7b7b0ac7 Mon Sep 17 00:00:00 2001 From: AlexxNB Date: Mon, 27 Apr 2020 11:09:04 +0300 Subject: [PATCH] minor edits in readme --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f12722f..4f1b634 100644 --- a/README.md +++ b/README.md @@ -332,7 +332,9 @@ If you want have code-splitting and load components only when page requested, ma And use it when you need lazy loaded component in your routes: ```html -import('./mypage.svelte')}/> + + import('./mypage.svelte')}/> + ``` ### Transitions @@ -346,9 +348,8 @@ In case of any transiton when path changes, make component like this: import {fade} from 'svelte/transition'; -{#each '_' as _($router.path)} +{#each '_' as _($router.path)}{$router.path,''}
- {$router.path,''}
{/each}