diff --git a/internals/cli/public/template/component/index.ts b/internals/cli/public/template/component/index.ts index 89989f976..f1b0ed592 100644 --- a/internals/cli/public/template/component/index.ts +++ b/internals/cli/public/template/component/index.ts @@ -1,5 +1,6 @@ import [[UNAME]] from './src/index[[SUFFIX]]' import '@opentiny/vue-theme/[[NAME]]/index.less' +import { version } from './package.json' [[UNAME]].model = { prop: 'modelValue',