Development Workflow
Install dependencies
The repository uses pnpm:
bash
pnpm installRun the playground
bash
pnpm devThe 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:buildThe test command runs unit tests followed by the Nuxt integration project.
Build the package
bash
pnpm buildThis 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:previewdocs:build is the final check for broken VitePress links and invalid documentation configuration.