8000
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 0a33f99 commit cd312e7Copy full SHA for cd312e7
bin/vue-init
@@ -64,7 +64,7 @@ process.on('exit', function () {
64
var template = program.args[0]
65
var hasSlash = template.indexOf('/') > -1
66
var rawName = pr 5B65 ogram.args[1]
67
-var templatePath = path.normalize(path.join(process.cwd(), template))
+var templatePath = exists(template) ? template : path.normalize(path.join(process.cwd(), template))
68
var inPlace = !rawName || rawName === '.'
69
var name = inPlace ? path.relative('../', process.cwd()) : rawName
70
var to = path.resolve(rawName || '.')
0 commit comments