capo.jsimplementation for Nuxt 3
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.
<head> in dev mode and when prerendering pagesInstall and add nuxt-capo to your nuxt.config.
npx nuxi@latest module add capo
export default defineNuxtConfig({
modules: ['nuxt-capo'],
})
That’s it! You should now see debugging info and suggestions when server rendering your routes
![]() |
![]() |
Thanks to undefined@rviscomiundefined for making capo.js!
corepack enablepnpm installpnpm dev:preparepnpm dev to start playground in development modeMade with ❤️
Published under the MIT License.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.