Skip to content

Commit

Permalink
fix: expose docute version on window
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed May 11, 2019
1 parent fe46d9c commit 5ee9f10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,6 @@ export default Docute

if (typeof window !== 'undefined') {
window.Vue = Vue
// eslint-disable-next-line
window['__DOCUTE_VERSION__'] = __DOCUTE_VERSION__
}

0 comments on commit 5ee9f10

Please sign in to comment.