feat(Cli): update template to v7

This commit is contained in:
chenjiahan 2024-04-14 21:03:50 +08:00
parent 59577b18d8
commit aa47d01c4b
2 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@
"vue": "^3.3.4"
},
"devDependencies": {
"@vant/cli": "^6.0.0",
"@vant/cli": "^7.0.0",
"vue": "^3.3.4",
"sass": "^1.49.7"
},

View File

@ -12,21 +12,21 @@ const PROMPTS = [
message: 'Select Vue version',
type: 'select',
choices: [
{
name: 'vue2',
message: 'Vue 2',
},
{
name: 'vue3',
message: 'Vue 3',
},
{
name: 'vue2',
message: 'Vue 2',
},
],
},
{
name: 'preprocessor',
message: 'Select css preprocessor',
type: 'select',
choices: ['Less', 'Sass'],
choices: ['Sass', 'Less'],
},
];