GeoTIFF / georaster-layer-for-leaflet

Display GeoTIFFs and soon other types of raster on your Leaflet Map
https://geotiff.github.io/georaster-layer-for-leaflet-example/
Apache License 2.0
284 stars 57 forks source link

NuxtJS: error in library #97

Open xayrullo opened 2 years ago

xayrullo commented 2 years ago

Describe the bug When we run georaster, our nuxt project doesn't read this library. Instead of this thrown

ERROR in ./node_modules/georaster-layer-for-leaflet/dist/georaster-layer-for-leaflet.min.js 2:37677 Module parse failed: Unexpected token (2:37677) 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 | /! For license information please see georaster-layer-for-leaflet.min.js.LICENSE.txt /error

Please give me some information about how to add and use georaster in NUXT.JS projects

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots

Desktop (please complete the following information):

Additional context Add any other context about the problem here.