File tree 2 files changed +9
-0
lines changed
packages/@vue/cli-guijs-plugin/lib 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,8 @@ exports.createProject = async function ({
45
45
'--skipGetStarted'
46
46
]
47
47
if ( answers . packageManager ) args . push ( '--packageManager' , answers . packageManager )
48
+ if ( answers . registryUrl ) args . push ( '--registry' , answers . registryUrl )
49
+ if ( answers . proxy ) args . push ( '--proxy' , answers . proxy )
48
50
if ( answers . bare ) args . push ( '--bare' )
49
51
if ( answers . force ) args . push ( '--force' )
50
52
// Git
Original file line number Diff line number Diff line change @@ -88,6 +88,13 @@ function onCreate ({ wizard }) {
88
88
group : 'Dependencies' ,
89
89
description : 'Use specified npm registry when installing dependencies'
90
90
} ,
91
+ {
92
+ name : 'proxy' ,
93
+ type : 'input' ,
94
+ message : 'Proxy' ,
95
+ group : 'Dependencies' ,
96
+ description : 'Use specified proxy when creating project'
97
+ } ,
91
98
{
92
99
name : 'useGit' ,
93
100
type : 'confirm' ,
You can’t perform that action at this time.
0 commit comments