Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Commit

Permalink
⭐ new: auto installation
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Jun 8, 2016
1 parent b30ba56 commit fa588c5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions template/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ function plugin (Vue, options = {}) {
plugin.version = '1.3.0'

export default plugin

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

0 comments on commit fa588c5

Please sign in to comment.