Closed digoburigo closed 1 year ago
@digoburigo I am sorry for inconvenience. Because I changed from webpack to vite to build, folder structure was changed. try the following CSS path.
import '@watergis/maplibre-gl-legend/dist/maplibre-gl-legend.css';
For CDN, please also use the following new path.
<link href="https://www.unpkg.com/@watergis/maplibre-gl-legend@latest/dist/maplibre-gl-legend.css" rel="stylesheet" />
Let me close this issue. Feel free to reopen if there is an issue of loading css
That was it. Thanks for the info!
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
import "@watergis/maplibre-gl-legend/css/styles.css";
like before.Expected behavior Same as the old version?
Screenshots![image](https://github.com/watergis/maplibre-gl-legend/assets/28462822/2c0d82fc-c18b-4809-ac5c-1f4213555daa)
Desktop (please complete the following information):