diff --git a/src/index.ts b/src/index.ts index dc09077..9b6a605 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,7 @@ export { createApp } from './app' export { nextTick } from './scheduler' export { reactive } from 'vue' +export { version } from '../package.json' import { createApp } from './app' diff --git a/tsconfig.json b/tsconfig.json index ca9c7c8..8565cac 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,7 +11,8 @@ "strict": true, "noUnusedLocals": true, "rootDir": ".", - "types": ["vite/client"] + "types": ["vite/client"], + "resolveJsonModule": true }, "include": [ "src"