danielroe / nuxt-capo

`capo.js` implementation for Nuxt 3
MIT License
82 stars 0 forks source link
nuxt-module

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

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

License

Made with ❤️

Published under the MIT License.