← labnotesMarch 26, 2024 · 1 min read · 34 wordsLeaflet markers with vite build#leaflet 2#vite 101 2 3 4 5 6 7 8 import markerIconUrl from "leaflet/dist/images/marker-icon.png"; import markerIconRetinaUrl from "leaflet/dist/images/marker-icon-2x.png"; import markerShadowUrl from "leaflet/dist/images/marker-shadow.png"; L.Icon.Default.prototype.options.iconUrl = markerIconUrl; L.Icon.Default.prototype.options.iconRetinaUrl = markerIconRetinaUrl; L.Icon.Default.prototype.options.shadowUrl = markerShadowUrl; L.Icon.Default.imagePath = "";Referenceshttps://cescobaz.com/2023/06/14/setup-leaflet-with-svelte-and-vite/Workshop ConnectionsConnected writingRelated across the archive 4labnotes Nov 27, 2024 · 1 minFixing vite errors when on github pagessave you the google#vite #astrolabnotes Aug 11, 2024 · 1 minvite-bundle-visualizerwhy is my build so big#vitelabnotes Aug 5, 2024 · 2 minUsing clerk with vite and static siteMaybe we don’t really want all of that nextjs#clerk #vite #vanillahowto Jun 6, 2024 · 4 minRecreating notepadtabhow small can we go?#vite #javascript #static_sites← PreviouslyDeploying static vite site on flyMar 26, 2024Next →Using pushState and replaceStateMar 29, 2024