Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/natemoo-re/astro-capo


https://github.com/natemoo-re/astro-capo

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

# Capo.js for Astro

Get your `` in order—automatically!

`astro-capo` is a component that automatically optimizes the order of elements in your ``, adapted from [Rick Viscomi](https://twitter.com/rick_viscomi)'s wonderful `capo.js` library.

Unlike [`capo.js`](https://rviscomi.github.io/capo.js/), which makes it easy to debug the optimal order of your `` in the browser, `astro-capo` automatically optimizes your `` on the server while rendering your page.

## Usage

Replace your regular `` element with our custom `` component. That's it!

```astro
---
import { Head } from 'astro-capo'
---






Astro


Astro


```