Skip to content

Commit 9a285a2

Browse files
committed
feat: vuejs#128 add version display
1 parent b421da8 commit 9a285a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export { createApp } from './app'
22
export { nextTick } from './scheduler'
33
export { reactive } from 'vue'
4+
export { version } from '../package.json'
45

56
import { createApp } from './app'
67

tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"strict": true,
1212
"noUnusedLocals": true,
1313
"rootDir": ".",
14-
"types": ["vite/client"]
14+
"types": ["vite/client"],
15+
"resolveJsonModule": true
1516
},
1617
"include": [
1718
"src"

0 commit comments

Comments
 (0)