We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bd43d0 commit daae923Copy full SHA for daae923
test-app/src/assets/ticket-56.svg
test-app/src/routes/ticket-56/+page.svelte
@@ -0,0 +1,21 @@
1
+<script lang="ts">
2
+ import Sample from '../../assets/ticket-56.svg?component'
3
+ import sampleRaw from '../../assets/ticket-56.svg?src'
4
+ import sampleUrl from '../../assets/ticket-56.svg?url'
5
+</script>
6
+
7
+<div>
8
+ <p>Sample Component</p>
9
+ <Sample />
10
+</div>
11
12
13
+ <p>Sample Raw</p>
14
+ <!-- eslint-disable-next-line svelte/no-at-html-tags -->
15
+ {@html sampleRaw}
16
17
18
19
+ <p>Sample Img</p>
20
+ <img src={sampleUrl} alt="" />
21
0 commit comments