pickstack

Nuxt + Prettier

Opinionated code formatter. This page shows exactly what pickstack adds to a Nuxt project for Prettier: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.

$ npm create pickstack@latest my-app -- --framework nuxt --modules prettier --yes
Customize in the configurator

Packages it adds

PackageVersionType
prettier^3.10.1dev

New files

.prettierignore
dist
.nuxt
.output
.data
.nitro
.cache
pnpm-lock.yaml
package-lock.json
yarn.lock
bun.lock
.prettierrc
{}

Changes to existing files

app/pages/about.vue (changed)
 <template>   <section class="page">     <h1 class="title">About</h1>+    <p class="text">Built with Nuxt 4, Vue 3, TypeScript, Prettier.</p>−    <p class="text">Built with Nuxt 4, Vue 3, TypeScript.</p>   </section> </template>  

Project files

Related templates