georaster-layer-for-leaflet icon indicating copy to clipboard operation
georaster-layer-for-leaflet copied to clipboard

NuxtJS: error in library

Open xayrullo opened this issue 3 years ago • 0 comments

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

  • [ ] @ #1. [](url)

Desktop (please complete the following information):

  • OS: Windows10
  • Browser: chrome
  • Node: 14.17.6

Additional context Add any other context about the problem here.

xayrullo avatar May 18 '22 11:05 xayrullo