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 30c11a1 commit 22d9be3Copy full SHA for 22d9be3
bin/vue-init
@@ -91,8 +91,8 @@ if (exists(to)) {
91
92
function run () {
93
// check if template is local
94
- if (/^[./]/.test(template)) {
95
- var templatePath = template.charAt(0) === '/'
+ if (/^[./]|(\w:)/.test(template)) {
+ var templatePath = template.charAt(0) === '/' || /^\w:/.test(template)
96
? template
97
: path.normalize(path.join(process.cwd(), template))
98
if (exists(templatePath)) {
0 commit comments