Select to view content in your preferred language

Esri arcgis/core css relative paths

772
1
03-28-2022 03:10 AM
RichardReinicke
Frequent Contributor

Hi,

I'm currently trying to package my Angular App with local assets but I'm struggling with the relative css paths :(.

This is an example of ..\themes\base\widgets\_Spinner.scss

RichardReinicke_0-1648457762069.png

The relative path ../base/images seems to be wrong. Because with ../ I'm out of widgets but still inside base folder.

This matches my error messages:

RichardReinicke_0-1648461942617.png

where it's looking for base\base\...

Am I missing something? I'm using arcgis/core@4.23.0.

Any help would be much appreciated.



Tags (4)
0 Kudos
1 Reply
AndyGup
Esri Regular Contributor

@RichardReinickeit depends on where you copy the assets to within the project. Here's some doc on it that might help get you pointed in the right direction: https://developers.arcgis.com/javascript/latest/es-modules/#managing-assets-locally If you are still stuck, create a simple github repo and send us a link and we'll take a look.

0 Kudos