Skip to content

Commit

Permalink
fix: Restore --offline option for legacy vue init API (#1605)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsxfjames authored and Akryum committed Jul 4, 2018
1 parent 226291c commit d8b06bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/@vue/cli/bin/vue.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ program
.command('init <template> <app-name>')
.description('generate a project from a remote template (legacy API, requires @vue/cli-init)')
.option('-c, --clone', 'Use git clone when fetching remote template')
.option('--offline', 'Use cached template')
.action(() => {
loadCommand('init', '@vue/cli-init')
})
Expand Down

0 comments on commit d8b06bb

Please sign in to comment.