Skip to content

Commit

Permalink
⭐ new: auto installation for standalone
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed May 9, 2016
1 parent 10ce366 commit 2b0dc09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,7 @@ function setupLangVM (Vue, lang) {
plugin.version = '3.1.0'

export default plugin

if (typeof window !== 'undefined' && window.Vue) {
window.Vue.use(plugin)
}

0 comments on commit 2b0dc09

Please sign in to comment.