You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@vue-flow/background

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue-flow/background

This is a background component for Vue Flow. It can be used to create a background in your canvas.

1.3.2
latest
Source
npmnpm
Version published
Weekly downloads
137K
2.46%
Maintainers
0
Weekly downloads
 
Created
Source

Vue Flow: Background Component

This is a background component for Vue Flow. It can be used to create a background in your canvas.

🛠 Setup

# install
$ yarn add @vue-flow/background

# or
$ npm i --save @vue-flow/background

🎮 Quickstart

<script setup>
import { VueFlow } from '@vue-flow/core'
import { Background } from '@vue-flow/background'
import initialElements from './initial-elements'

// some nodes and edges
const elements = ref(initialElements)
</script>

<template>
  <VueFlow v-model="elements" fit-view-on-init class="vue-flow-basic-example">
    <Background />
  </VueFlow>
</template>

Keywords

vue

FAQs

Package last updated on 13 Nov 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