From 5ee9f101a77ef5a8b3c1342ea00a08d83f163517 Mon Sep 17 00:00:00 2001 From: EGOIST <0x142857@gmail.com> Date: Sat, 11 May 2019 17:16:38 +0800 Subject: [PATCH] fix: expose docute version on window --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index 13d1c32d..04d3523f 100644 --- a/src/index.js +++ b/src/index.js @@ -103,4 +103,6 @@ export default Docute if (typeof window !== 'undefined') { window.Vue = Vue + // eslint-disable-next-line + window['__DOCUTE_VERSION__'] = __DOCUTE_VERSION__ }