Skip to content

Commit d8b06bb

Browse files
hsxfjamesAkryum
authored andcommitted
fix: Restore --offline option for legacy vue init API (vuejs#1605)
1 parent 226291c commit d8b06bb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/@vue/cli/bin/vue.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ program
121121
.command('init <template> <app-name>')
122122
.description('generate a project from a remote template (legacy API, requires @vue/cli-init)')
123123
.option('-c, --clone', 'Use git clone when fetching remote template')
124+
.option('--offline', 'Use cached template')
124125
.action(() => {
125126
loadCommand('init', '@vue/cli-init')
126127
})

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy