Open santoshkaranam opened 1 year ago
i have fixed it by removing those css and directly importing from my app code using cdn https://cdn.jsdelivr.net/gh/digidem/leaflet-side-by-side/layout.css https://cdn.jsdelivr.net/gh/digidem/leaflet-side-by-side/range.css
i will raise a pull request.
NextJs: Global CSS cannot be imported from within node_modules. https://github.com/vercel/next.js/issues/19936
nextjs restricts importing csss from node modules folder. file here: https://github.com/digidem/leaflet-side-by-side/blob/gh-pages/index.js has 2 css imports
which dont work in nextjs.