You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to create custom templates to use with create-app.
Describe the solution you'd like
I would like to be able to run something like yarn create @vitejs/app my-new-app --template ./my-local-template or yarn create @vitejs/app my-new-app --template @my-co/my-custom-vitejs-kickstarter-template to generate the base for my application.
Currently there is a hardcoded check in https://github.com/vitejs/vite/blob/main/packages/create-app/index.jsisValidTemplate = availableTemplates.includes(template) that only allows for templates in the availableTemplates array.
The text was updated successfully, but these errors were encountered:
I would like to be able to create custom templates to use with create-app.
Describe the solution you'd like
I would like to be able to run something like
yarn create @vitejs/app my-new-app --template ./my-local-template
oryarn create @vitejs/app my-new-app --template @my-co/my-custom-vitejs-kickstarter-template
to generate the base for my application.Currently there is a hardcoded check in
https://github.com/vitejs/vite/blob/main/packages/create-app/index.js
isValidTemplate = availableTemplates.includes(template)
that only allows for templates in the availableTemplates array.The text was updated successfully, but these errors were encountered: