8000 fix: missing arguments · sarvex/vue-cli@02ade69 · GitHub
[go: up one dir, main page]

Skip to content

Commit 02ade69

Browse files
author
Guillaume Chau
committed
fix: missing arguments
1 parent bcd4e68 commit 02ade69

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

packages/@vue/cli-guijs-plugin/lib/create-project.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ exports.createProject = async function ({
4545
'--skipGetStarted'
4646
]
4747
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)
4850
if (answers.bare) args.push('--bare')
4951
if (answers.force) args.push('--force')
5052
// Git

packages/@vue/cli-guijs-plugin/lib/project-type.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,13 @@ function onCreate ({ wizard }) {
8888
group: 'Dependencies',
8989
description: 'Use specified npm registry when installing dependencies'
9090
},
91+
{
92+
name: 'proxy',
93+
type: 'input',
94+
message: 'Proxy',
95+
group: 'Dependencies',
96+
description: 'Use specified proxy when creating project'
97+
},
9198
{
9299
name: 'useGit',
93100
type: 'confirm',

0 commit comments

Comments
 (0)
0