Variations offers an abstraction from verbose business logic to render the variations of a given product, offering flexibility on presentational layers whilst providing out the box rehydration.
Installation
npm install @thg-altitude/elements
Setup
The elements package exports framework specific components which can be imported into your application.
Loading...
<script setup>
import { VariationVue } from "@thg-altitude/elements/vue";
</script>
<template>
<VariationVue />
</template> ---
import { VariationAstro } from "@thg-altitude/elements/astro";
---
<VariationAstro />