Skip to content

Nuxt

Scaffold a Nuxt project via the official create nuxt CLI

Primary commands

bash
npx scafix create nuxt
npx scafix create nuxt --template content --name content-site --package-manager pnpm
npx scafix create nuxt --template ui

Supported customizations

OptionCLI flagsType / valuesDefaultNotes
Template--template <template>minimal Minimal
content Content
ui UI
minimalSelect the Nuxt starter template.

--yes defaults

Keyvalue
templateminimal

Notes

  • Scafix passes the selected package manager directly to the official Nuxt CLI.
  • Nuxt's upstream git initialization is disabled so the shared Scafix --git flow remains the single owner of repository setup.

Shared flow reminder

  • Shared flags such as --name, --directory, --package-manager, --git, and --debug apply here as well.
  • If required values are omitted and a TTY is available, Scafix prompts for them before calling the stack adapter.
  • See CLI Reference for the shared command surface used by scafix.

Released under the MIT License.