feat(init): prompt user to select a template #1147
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
β Type of change
π Description
this now prompts for selecting a template if one is not provided (previously it just defaulted to v4).
we also now default to a new
minimaltemplate (currently the same as v4 but which will track the latest major of nuxt).old templates not in the list will continue to be honoured but won't be prompted
we also now respect the
defaultDirin the template metadata. eg. if you pick amoduletemplate, the placeholder for where it will be created will benuxt-modulerather thannuxt-appand all of this works offline too (with the data at build time cached and included in the build)
Screen.Recording.2025-12-03.at.16.38.59.mov