use version from package.json

This commit is contained in:
Sergio Crisostomo 2017-11-14 17:46:52 +01:00
parent d291e8152b
commit d962c7fa02
2 changed files with 7 additions and 2 deletions

View file

@ -153,7 +153,7 @@ if (typeof window !== 'undefined' && window.Vue) {
}
const API = {
version: '2.7.2',
version: process.env.VERSION, // eslint-disable-line no-undef
locale: locale.use,
i18n: locale.i18n,
install,