create-vue3-enterprise 1.0.33 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +7 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -163,7 +163,13 @@ async function main() {
163
163
  title: "Vue3 + TypeScript + Vite + Pinia + Vue Router",
164
164
  value: "vue3-ts-full"
165
165
  }
166
- ]
166
+ ],
167
+ onState: (state) => {
168
+ selectedTemplate = state.value;
169
+ if (selectedTemplate) {
170
+ console.log(green(`✔ 你选择的模板值: ${selectedTemplate}`));
171
+ }
172
+ }
167
173
  },
168
174
  {
169
175
  type: () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vue3-enterprise",
3
- "version": "1.0.33",
3
+ "version": "1.0.34",
4
4
  "description": "Vue3 + TypeScript + Vite 企业级项目脚手架",
5
5
  "type": "module",
6
6
  "bin": {