Skip to content

fix(create-app): prompt the user on supplying an invalid template#2072

Merged
yyx990803 merged 1 commit intovitejs:mainfrom
jamesgeorge007:hotfix/create-app
Feb 18, 2021
Merged

fix(create-app): prompt the user on supplying an invalid template#2072
yyx990803 merged 1 commit intovitejs:mainfrom
jamesgeorge007:hotfix/create-app

Conversation

@jamesgeorge007
Copy link
Copy Markdown
Contributor

Current behavior

An attempt to create a new vite project fails if the user makes a typo while supplying the template (or maybe an unsupported template).

$ yarn create @vitejs/app app -t default

Screenshot 2021-02-18 at 4 52 17 PM

Proposed change

Screenshot 2021-02-18 at 5 00 42 PM

@jamesgeorge007 jamesgeorge007 changed the title fix: prompt the user on supplying an invalid template fix(create-app): prompt the user on supplying an invalid template Feb 18, 2021
@yyx990803 yyx990803 merged commit ea31690 into vitejs:main Feb 18, 2021
@jamesgeorge007 jamesgeorge007 deleted the hotfix/create-app branch February 18, 2021 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants