0.0.2 • Published 6 years ago
@baleada/vue v0.0.2
@baleada/vue
Vue composition functions for the Baleada toolkit
Install
npm i @baleada/vueUsage
Before using any of the composition functions in @baleada/vue, be sure to install @vue/composition-api and install the plugin, described in Vue's docs.
With that done, you can now import and use any composition function from @baleada/vue:
<template lang="html">...</template>
<script>
import { useSearchable } from `@baleada/vue`
export default {
setup() {
const { search, results } = useSearchable(...)
return { search, results }
}
}
</script>For more information on available composition functions and how to use them, visit the Baleada docs.