+1, some kind of unit tests would be needed. In addition to that, the <client-only> breaks all unit tests, and it's not possible to register the component, as the other ones in unit tests, such as l-map, via Vue.component("l-map", LMap); etc.
breaks unit tests with the error console.error TypeError: Cannot read property 'setView' of undefined
Last, but not least, might be related to this. All the time after implementing nuxt-leaflet, I can see in my terminal [Vue warn]: Error in nextTick: "TypeError: Cannot read property 'mapObject' of undefined" while running the app locally npm run dev.
+1, some kind of unit tests would be needed. In addition to that, the
<client-only>
breaks all unit tests, and it's not possible to register the component, as the other ones in unit tests, such asl-map
, viaVue.component("l-map", LMap);
etc.In addition to that,
breaks unit tests with the error
console.error TypeError: Cannot read property 'setView' of undefined
Last, but not least, might be related to this. All the time after implementing
nuxt-leaflet
, I can see in my terminal[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'mapObject' of undefined"
while running the app locallynpm run dev
.