Closed Eggrror404 closed 6 months ago
because mdsvex/vite doesn't automatically resolve image paths so currently we need to use image by the "typical vite process": import in <script>, then use variable in src.
<script>
src
we'd love to auto-resolve links in images..
some resources: https://github.com/pngwn/MDsveX/issues/475 https://github.com/MailCheck-co/mailcheck.site/blob/master/mdsvexplugins/mdsvex-url-to-import.js
because mdsvex/vite doesn't automatically resolve image paths so currently we need to use image by the "typical vite process": import in
<script>
, then use variable insrc
.we'd love to auto-resolve links in images..
some resources: https://github.com/pngwn/MDsveX/issues/475 https://github.com/MailCheck-co/mailcheck.site/blob/master/mdsvexplugins/mdsvex-url-to-import.js