Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@danielroe
Copy link
Member

❓ Type of change

  • πŸ‘Œ Enhancement (improving an existing functionality)

πŸ“š 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 minimal template (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 defaultDir in the template metadata. eg. if you pick a module template, the placeholder for where it will be created will be nuxt-module rather than nuxt-app

and 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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

πŸ“¦ Bundle Size Comparison

πŸ“ˆ nuxi

Metric Base Head Diff
Rendered 4450.07 KB 4453.58 KB +3.51 KB (+0.08%)

πŸ“ˆ nuxt-cli

Metric Base Head Diff
Rendered 131.46 KB 135.01 KB +3.54 KB (+2.70%)

πŸ“ˆ create-nuxt

Metric Base Head Diff
Rendered 2372.85 KB 2376.37 KB +3.52 KB (+0.15%)

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 3, 2025

  • nuxt-cli-playground

    npm i https://pkg.pr.new/create-nuxt@1147
    
    npm i https://pkg.pr.new/nuxi@1147
    
    npm i https://pkg.pr.new/@nuxt/cli@1147
    

commit: 4799eac

@codspeed-hq
Copy link

codspeed-hq bot commented Dec 3, 2025

CodSpeed Performance Report

Merging #1147 will not alter performance

Comparing feat/template-selection (4799eac) with main (6f17cd5)

Summary

βœ… 2 untouched

@danielroe danielroe merged commit 2eb32d2 into main Dec 4, 2025
16 of 17 checks passed
@danielroe danielroe deleted the feat/template-selection branch December 4, 2025 14:39
@github-actions github-actions bot mentioned this pull request Dec 4, 2025
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