mirror of https://github.com/sveltejs/svelte
[docs] fix path to /tutorial/image.gif (#7033)
parent
7521bd55b5
commit
35376f2487
@ -1,7 +1,7 @@
|
|||||||
<script>
|
<script>
|
||||||
let src = 'tutorial/image.gif';
|
let src = '/tutorial/image.gif';
|
||||||
let name = 'Rick Astley';
|
let name = 'Rick Astley';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- {src} is short for src={src} -->
|
<!-- {src} is short for src={src} -->
|
||||||
<img {src} alt="{name} dancing">
|
<img {src} alt="{name} dancing">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<script>
|
<script>
|
||||||
let src = 'tutorial/image.gif';
|
let src = '/tutorial/image.gif';
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<img>
|
<img>
|
||||||
|
Loading…
Reference in new issue