kolirt / vue-timestamp

πŸ•˜ Vue 3 timestamp package

Home Page:https://kolirt.github.io/vue-timestamp/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

πŸ•˜ Vue 3 timestamp package

https://kolirt.github.io/vue-timestamp/

License:MIT License


Languages

Language:TypeScript 50.5%Language:Vue 27.1%Language:JavaScript 10.1%Language:HTML 7.4%Language:Makefile 4.8%