`capo.js` implementation for Nuxt 3
MIT License
capo.js
implementation 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 @rviscomi for making capo.js!
corepack enable
pnpm install
pnpm dev:prepare
pnpm dev
to start playground in development modeMade with ❤️
Published under the MIT License.