New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

nextcloud-vue-collections

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nextcloud-vue-collections

Nextcloud vue components for collections

latest
Source
npmnpm
Version
0.13.0
Version published
Weekly downloads
1.3K
66.49%
Maintainers
2
Weekly downloads
 
Created
Source

Nextcloud Vue component for collaboration collections

npm last version Dependabot status

Provides a vue component for Nextcloud projects introduced in Nextcloud 16 to be integrated in apps. Projects is naming for user-facing elements, while collections is used internally since it was renamed afterwards.

Installation

npm install --save nextcloud-vue-collections

Usage

This library requires your app to have the following dependencies installed:

  • vue 2.7.16

After that you can use the collection list component like this:

<template>
	<collection-list 
		v-if="resourceId" 
		type="myresourcetype" 
		:id="resourceId" 
		:name="resourceName" 
	/>
</template>

<script>
import { CollectionList } from 'nextcloud-vue-collections'

export default {
	name: 'CollectionsView',
	components: {
		CollectionList
	},
	computed: {
		resourceId() {
			return 1
		},
		resourceName() {
			return 'My resource'
		}
	}
}
</script>

Keywords

vuejs

FAQs

Package last updated on 16 Jun 2024

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