0.0.2 • Published 11 months ago

volki-counter-components v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

This project is licensed under the MIT License.

Features

  • Build interactive UI elements quickly and easily.
  • Customize the heading text using the msg prop.
  • Button element with an automatically updating counter.

Installation

npm install volki-counter-components

Usage

<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>

Props

PropTypeDescription
msgStringThe text to be displayed as the component heading.

License

This project is licensed under the MIT License.