volki-counter-components
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Volki Components Three

A Vue component library for building interactive UI elements.

npm

License

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

Prop Type Description
msg String The text to be displayed as the component heading.

License

This project is licensed under the MIT License.


Built with ❤️ by Volkan Filazi

Package Sidebar

Install

npm i volki-counter-components

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

6.75 kB

Total Files

7

Last publish

Collaborators

  • volkanfilazi