Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using vem? #1

Open
greenpdx opened this issue Sep 19, 2018 · 0 comments
Open

Using vem? #1

greenpdx opened this issue Sep 19, 2018 · 0 comments

Comments

@greenpdx
Copy link

1> pulling vem from npm is version 0.0.2 while the github version is 0.0.3

2> I have tried to use vem in two different ways.
the first way is to put the import of vem in the main.js file and the second is to put the import into the component I want to use it in.

import Vue from 'vue'
import VEM from 'vem'
Vue.use(VEM)

but when I try to use it is undefined

        <vem-map>
          <tile-layer />
        </vem-map>

I am using @vue/cli 3.0.1 and vuetify 1.2.0 and ol 5.2.0

In the source I see importing four components, but how do you get those imported in a upper level component?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant