neetjn / v-localize

Simple localization plugin for the amazing Vue.js.

Home Page:https://neetjn.github.io/v-localize/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot read property installed error

alvirtuoso opened this issue · comments

Uncaught TypeError: Cannot read property 'installed' of undefined
    at Function.Vue.use (eval at <anonymous>

I'm using vue-cli. Steps I've done:

  1. npm installed
  2. import { Localize } from 'v-localize';
  3. Vue.use(Localize);

What could be causing this?

Stupid error on my part, can't believe I didn't catch this sooner. It has to do with my build -- amd works fine in browser but it's not exporting the module as intended for commonjs and etc.

Fixed, I'll have version 1.1.2 available shortly.

Should now be resolved in version 1.1.2. If you would please install the latest version and confirm this behavior.