Select to view content in your preferred language

Map Components sample with sveltekit

228
1
10-20-2025 10:51 AM
lakshmanankrishnan
Emerging Contributor

I am trying to use the new map components with SvelteKit, but I am getting a css error when @ArcGIS\map-components\dist\cdn\main.css import happens. Does anybody have a sample that I can draw inspiration from?

-Lak Krishnan

 

0 Kudos
1 Reply
Sage_Wall
Esri Regular Contributor

Hi @lakshmanankrishnan , this isn't an official esri sample or anything, but I like sveltekit and have this personal project that I play around with. https://github.com/sagewall/svelte-map-components.  Hopefully it will help.