nuxt-capo

capo.js implementation for Nuxt 3
11,996 87
Install
npm install nuxt-capo
Latest Version:0.2.0
Vue:3
License:MIT
Last Updated:Oct 19, 2026
Links: GitHub  ·  npm
Maintainer: danielroe

capo.js for Nuxt

npm version npm downloads Github Actions Codecov

capo.js implementation for Nuxt 3

What is Capo.js

Capo.js is a small snippet that identifies ways to boost the (perceived) performance of your page, by changing the order of elements in the page's <head> section.

Features

  • ✨ validates your <head> in dev mode and when prerendering pages
  • 🔎 visualises optimal head configuration

Installation

Install and add nuxt-capo to your nuxt.config.

npx nuxi@latest module add capo
export default defineNuxtConfig({
  modules: ['nuxt-capo'],
})

Usage

That's it! You should now see debugging info and suggestions when server rendering your routes

Optimal head configuration Suggestions for head

Credits

Thanks to @rviscomi for making capo.js!

💻 Development

  • Clone this repository
  • Enable Corepack using corepack enable (use npm i -g corepack for Node.js < 16.10)
  • Install dependencies using pnpm install
  • Stub module with pnpm dev:prepare
  • Run pnpm dev to start playground in development mode

License

Made with ❤️

Published under the MIT License.

Related Packages

@docus/core-edge

The Docus core.

8,638
@docus/app-edge

The Docus default app.

8,488
@docus/app

The Docus default app.

5,187
@docus/core

The Docus core.

4,814
@docus/theme

The Docus default theme.

3,016

Version History

Version Released License
0.2.0 MIT
0.1.0 MIT