@kolirt/vue-timestamp
TypeScript icon, indicating that this package has built-in type declarations

0.0.0 • Public • Published

Vue 3 timestamp

Table of Contents

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 projects

Check out my other projects on my GitHub profile

Package Sidebar

Install

npm i @kolirt/vue-timestamp

Weekly Downloads

69

Version

0.0.0

License

MIT

Unpacked Size

5.84 kB

Total Files

6

Last publish

Collaborators

  • kolirt