@codeandfunction/callaloo
v1.13.1
Published
a simple vue component library
Downloads
647
Readme
Callaloo
Callaloo is a free super simple Vue3+ component library.
Installation
npm install @codeandfunction/callaloo
or
yarn add @codeandfunction/callaloo
Example
The following example demonstrates how to use a Callaloo component in your Vue project.
<script setup lang="ts">
import { CLButton } from '@codeandfunction/callaloo';
const onClickHandler = (evt?: Event) => {
alert('Hello World!');
};
</script>
<template>
<CLButton :on-click="onClickHandler">Hello world</CLButton>
</template>