A Vue component library for building interactive UI elements.
This project is licensed under the MIT License.
- Build interactive UI elements quickly and easily.
- Customize the heading text using the
msg
prop. - Button element with an automatically updating counter.
npm install volki-counter-components
<template>
<VolkiCounterComponents msg="Hello World" />
</template>
<script>
import { defineProps, ref } from 'vue'
import VolkiCounterComponents from 'volki-counter-components'
export default {
components: {
VolkiCounterComponents
},
setup() {
defineProps({
msg: { type: String }
})
const count = ref(0)
return {
count
}
}
}
</script>
Prop | Type | Description |
---|---|---|
msg | String | The text to be displayed as the component heading. |
This project is licensed under the MIT License.
Built with ❤️ by Volkan Filazi