mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-29 11:57:32 +00:00
Add image support
Works around Vite imports vite-imagetools is borked for this
This commit is contained in:
6 files changed
+149
-3
No files matched your search
@@ -0,0 +1,8 @@
|
||||
<script>
|
||||
export let src;
|
||||
export let alt;
|
||||
// console.log(src)
|
||||
// import _PastedImage20240716123726Png from "./Pasted%20image%2020240716123726.png?meta";
|
||||
|
||||
</script>
|
||||
<img src={src} alt={alt}/>
|
||||
@@ -0,0 +1,6 @@
|
||||
<script context="module">
|
||||
import img from "$lib/htmlComponents/img.svelte";
|
||||
export { img };
|
||||
</script>
|
||||
|
||||
<slot />
|
||||
Reference in new issue
Block a user