georaster-layer-for-leaflet
georaster-layer-for-leaflet copied to clipboard
NuxtJS: error in library
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:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- 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.