i am using https://github.com/0wczar/airframe-react and i want to implement there a map with react-leaflet library. When i am trying to import import "leaflet/dist/leaflet.css"; to style my map i got error like this:
ERROR in ./node_modules/leaflet/dist/leaflet.css 3:0 Module parse failed: Unexpected token (3:0) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | /* required styles */ |
.leaflet-pane, | .leaflet-tile, | .leaflet-marker-icon,
What should i do to resolve this?