npm

scheduflow

1.2.0 • Public • Published

npm Common function 생성

npm init

JS파일에 Common function 추가

npm publish

npm Common function use

npm install scheduflow

use example

  • App.vue
<script setup>
import { fetchData, fetchDataMembers } from 'scheduflow'

const jsonData = ref(null)

onMounted(async () => {
  try {
    jsonData.value = await fetchData()
  } catch (error) {
    console.error('Error fetching data:', error)
  }
})
</script>

<template>
    <component-name :jsonData="jsonData" />
</template>
  • component.vue
<script setup>
const props = defineProps({
  jsonData: Object
})
</script>

Readme

Keywords

Package Sidebar

Install

npm i scheduflow

Weekly Downloads

1

Version

1.2.0

License

MIT

Unpacked Size

1.85 kB

Total Files

3

Last publish

Collaborators

  • wvzxtc