Skip to content

Latest commit

 

History

History
74 lines (47 loc) · 1.42 KB

README.md

File metadata and controls

74 lines (47 loc) · 1.42 KB

Vue 3 timestamp

Table of Contents

Buy Me A Coffee

Getting started

Installation

npm install --save @kolirt/vue-timestamp

yarn add @kolirt/vue-timestamp

Setup

import { createApp } from 'vue'
import { createTimestamp } from '@kolirt/vue-timestamp'

const app = createApp({ ... })

app.use(createTimestamp())

app.mount('#app')

Usage

<script setup lang="ts">
import { timestamp } from '@kolirt/vue-timestamp'
</script>

<template>
  <pre>timestamp: {{ timestamp }}</pre>
</template>

Demo

Demo here

FAQ

Check closed issues with FAQ label to get answers for most asked questions.

License

MIT

Other packages

Check out my other projects on my GitHub profile.