We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ff300 commit c2d52a8Copy full SHA for c2d52a8
index.ts
@@ -100,7 +100,7 @@ async function init() {
100
devtools: { type: 'boolean' }
101
} as const
102
103
- const { values: argv } = parseArgs({
+ const { values: argv, positionals } = parseArgs({
104
args,
105
options,
106
strict: false
@@ -123,7 +123,7 @@ async function init() {
123
(argv.devtools || argv['vue-devtools'])
124
) === 'boolean'
125
126
- let targetDir = args[0]
+ let targetDir = positionals[0]
127
const defaultProjectName = !targetDir ? 'vue-project' : targetDir
128
129
const forceOverwrite = argv.force
0 commit comments