1.1.8 • Published 2 years ago

@virsas/vue-helpers v1.1.8

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@virsas/vue-helpers

Virsas Vue3 helpers' library

Installation

Install

cd vue_project
npm install @virsas/vue-helpers
npm start

Import and usage

<template>
  <div>...</div>
</template>

<script setup>
import { useMeta } from "quasar";
import { VssSetMetadata } from "@virsas/vue-helpers";

useMeta(
  VssSetMetadata(
    process.env.VUE_WEB_URL + $route.fullPath,
    process.env.VUE_WEB_ASSETS + "/icon/512x512Origin.png",
    process.env.VUE_WEB_TITLE,
    t("page.home.html_title"),
    t("page.home.html_description")
  )
);
</script>

Utilities List

Metadata

  • VssSetMetadata

Date

  • VssStringToDate
  • VssStringToDatetime
  • VssStringToTime
  • VssStringToTimestamp
  • VssCurrentYear

Validation

  • VssIsValidEmail
  • VssIsValidTelephone
  • VssIsValidLength
  • VssIsValidConfirmation
  • VssIsGoodPassword

Sleep

  • VssSleep

Pagination

  • VssPagedArray

Notify

  • VssNotify

Example

<template>
  <div>{{ VssStringToDate("2004-10-19 10:23:54+02") }}</div>
</template>

<script setup>
import { VssStringToDate } from "@virsas/vue-helpers";
</script>
1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

0.0.2

3 years ago