Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@croud-ui/vue-3-components

Package Overview
Dependencies
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@croud-ui/vue-3-components

Vue 3 components and associated composables

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

@croud-ui/vue-3-components

A selection of components and associated composables built with the Vue 3 composition API.

Components

  • CuiDataTable
  • CuiDataTableCard
  • CuiDataTableCell
  • CuiDataTableRow

Composables

  • usePagination
  • useFetchList
  • useBreakpoints

Install

To use these components in your vue app, install the component via the npm registery:

npm install @croud-ui/vue-3-components

Usage

Components

Import the component into the .vue file where you want to render it.

<script lang='ts' setup>
import { CuiDataTableCard } from "@croud-ui/vue-3-components";
</script>

<template>
  <CuiDataTableCard
    :headers="tableHeaders"
    heading="Current tasks"
    :fetch="fetchCurrentTasks"
    :filters="searchParams"
    :filtersMissing="filtersMissing"
    :fetchOptions="fetchOptions"
  />
</template>


Composables

Import the composable into the .vue file where you want to use it.

<script lang='ts' setup>
import { useFetchList } from "@croud-ui/vue-3-components";

const { results, loading } = useFetchList(
    () => fetchResource(),
    {},
    { skip: computed(() => shouldSkipRef) }
  );
</script>

License

Licensed under the MIT License

FAQs

Package last updated on 13 Jan 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc