New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

v-popover

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v-popover

A popover plugin for Vue.js.

  • 0.1.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
173
decreased by-26.69%
Maintainers
1
Weekly downloads
 
Created
Source

Popover Plugin for Vue 3

A popover plugin for Vue.js.

Vue.js 3.2+ required.

Install Plugin

NPM

npm install v-popover

Use Plugin

:warning: As of v3.0.0-alpha.7, all installation methods require manual import of component styles. This is due to Vite build restrictions in libary mode.

import 'v-popover/style.css';

Method 1: Use Globally

import VPopover from 'v-popover';
import 'v-popover/style.css';

// Use plugin with optional defaults
app.use(VPopover, {})
<!-- MyComponent.vue -->
<template>
  <VPopover />
</template>

Method 2: Use Components Globally

// main.js
import { Popover } from 'v-popover';
import 'v-popover/style.css';

// Use the components
app.component('VPopover', Popover)
<!-- MyComponent.vue -->
<template>
  <VPopover />
</template>

Method 3: Use Components As Needed

<!-- MyComponent.vue -->
<template>
  <Popover />
</template>

<script>
import { Popover } from 'v-popover';
import 'v-popover/style.css';

export default {
  components: {
    Popover,
  }
}
</script>

Source setup

Please follow below mentioned steps to clone and build this project:

Clone the repo

git clone https://github.com/nathanreyes/v-popover

# Move to directory
cd v-popover

Install dependencies

npm install

Build library

# Types, ES, ESM, CommonJS, IIFE
npm run build

Lint and fix files

npm run lint

Test library

# Types, ES, ESM, CommonJS, IIFE
npm run test

Keywords

FAQs

Package last updated on 20 Jan 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

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