8000 GitHub - kolirt/vue-timestamp: 🕘 Vue 3 timestamp package
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kolirt/vue-timestamp

Repository files navigation

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.

0