Skip to content

Latest commit

 

History

History
65 lines (48 loc) · 889 Bytes

README.md

File metadata and controls

65 lines (48 loc) · 889 Bytes

awesome-cron

cron parser. cron is awesome

Installation

npm install awesome-cron

Usage

Install Globally

import { createApp } from "vue";
import cron from "awesome-cron";

const app = createApp(App);
app.use(cron);
app.mount("#app");

After the installation, you can use all the components in your SFC like this. Both <cron-parser> and <cronParser> are available

<template>
  <cron-parser></cron-parser>
</template>

or

<template>
  <cronParser></cronParser>
</template>

Import on Demand

Import Directly

<script>
  import { defineComponent } from "vue";
  import { CronParser } from "awesome-cron";

  export default defineComponent({
    components: {
      CronParser,
    },
    setup() {
      return {};
    },
  });
</script>

<template>
  <CronParser></CronParser>
</template>

<style></style>