Skip to content

Using vem? #1

Description

@greenpdx

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions