You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I have a simple quasar app with connected vue3-openlayers (https://github.com/naihil/quasar_ol_example)
All works except code completion of custom tags like ol-map, ol-view and others (both in WebStorm and VS Code).
What i did:
npm install ol ol-ext ol-contextmenu vue3-openlayers
Add ol.ts to /src/boot and enable it in quasar.config.ts
Add declare module to shims-vue.d.ts
...
PROFIT??
No, there is no code completion in template blocks and WebStorm says Unknown html tag ol-map
if I add import {OlMap} from "vue3-openlayers/dist/components/map"; in /src/pages/IndexPage.vue then code completion start to work, but quasar dev throws error:
[vite] Internal server error: Missing "./dist/components/map" export in "vue3-openlayers" package
Can someone help configure type imports and code completion?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I have a simple quasar app with connected vue3-openlayers (https://github.com/naihil/quasar_ol_example)
All works except code completion of custom tags like ol-map, ol-view and others (both in WebStorm and VS Code).
What i did:
...
PROFIT??
No, there is no code completion in template blocks and WebStorm says
Unknown html tag ol-map
if I add
import {OlMap} from "vue3-openlayers/dist/components/map";
in /src/pages/IndexPage.vue then code completion start to work, butquasar dev
throws error:[vite] Internal server error: Missing "./dist/components/map" export in "vue3-openlayers" package
Can someone help configure type imports and code completion?
Beta Was this translation helpful? Give feedback.
All reactions