Skip to content

maveio/mave-statamic

Repository files navigation

Statamic Mave

A Statamic plugin for mave.io.

Based on statamic-iconify

License

The MIT License (MIT). Please see License File for more information.

How to Install

Run the following command from your project root:

composer require maveio/statamic-mave

In order for the field to work, you must add a mave.io API key and collection ID to your .env file like this:

MAVE_KEY=
MAVE_SUB=
MAVE_THEME=
MAVE_UPLOAD=false

Add the following to your Antlers template:

<script type="module">
  import { Player } from "//cdn.video-dns.com/npm/@maveio/components/+esm";
</script>
<mave-player embed="{{ mave_field }}"></mave-player>

Development

vite build --watch
composer require maveio/statamic-mave