Replies: 1 comment
-
|
Well this was as far as I got, good enough for me; sharing if anyone else is struggling. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am overwhelmed by the amount of ways to do things with svelte/sveltekit/vite/mdsvex so am looking for some feedback. I just want to use the recommended
enhanced-imgthroughout my blog. I am no frontend/fullstack dev.I had initially set up my blog with all images in the
/staticdir. I would use them like this:I tried using
@sveltejs/enhanced-imgandmdsvex-enhanced-imagesto do the migration.For markdown, I could only get this part to work by moving the images to
src/lib/assets/images(which seemed like a good idea based on this) and:=>I could not get any of the other approaches to work with
enhanced-img. After countless hours of searching, it would seemenhanced-imgjust doesn't work dynamically (so with the path from mdsvex-parsed-markdown)? Andmdsvex-enhanced-imagesdoes not work with static?So is this migration just a lost cause?
I'd appreciate any feedback on how you'd proceed if you were me.
Beta Was this translation helpful? Give feedback.
All reactions