Skip to content

Development Workflow

Install dependencies

The repository uses pnpm:

bash
pnpm install

Run the playground

bash
pnpm dev

The command prepares the module and starts the Nuxt application in playground/. Use its pages and JSON files to verify runtime registration, presets, route changes, and generated head output.

Run checks

bash
pnpm test
pnpm playground:build

The test command runs unit tests followed by the Nuxt integration project.

Build the package

bash
pnpm build

This prepares the Nuxt module types and builds the package entries in dist/module/.

Work on the documentation

bash
pnpm docs:dev
pnpm docs:build
pnpm docs:preview

docs:build is the final check for broken VitePress links and invalid documentation configuration.

Built with VitePress – Released under the MIT License.