Gathering detailed insights and metrics for portal-vue
Gathering detailed insights and metrics for portal-vue
Gathering detailed insights and metrics for portal-vue
Gathering detailed insights and metrics for portal-vue
@linusborg/vue-simple-portal
A simple Portal implementation for Vue, to mount slot content to another element
vue-dom-portal
An escape hatch directive for DOM Elements in Vue.js components.
@dangojs/portal-navbar
portal的navbar 组件
piral-vue
Plugin for integrating Vue@2 components in Piral.
A feature-rich Portal Plugin for Vue 3, for rendering DOM outside of a component, anywhere in your app or the entire document. (Vue 2 version: v2.portal-vue.linusb.org)
npm install portal-vue
Typescript
Module System
Min. Node Version
Node Version
NPM Version
Vue (51.13%)
TypeScript (45.33%)
CSS (1.82%)
JavaScript (0.68%)
HTML (0.56%)
Shell (0.38%)
SCSS (0.09%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
3,906 Stars
563 Commits
184 Forks
33 Watchers
7 Branches
38 Contributors
Updated on Jul 07, 2025
Latest Version
3.0.0
Package Id
portal-vue@3.0.0
Unpacked Size
119.50 kB
Size
24.04 kB
File Count
45
NPM Version
8.13.2
Node Version
18.6.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
A Portal Component for Vue 3, to render DOM outside of a component, anywhere in the document.
For more detailed documentation and additional Information, please visit the docs.
Looking for the version for Vue 2.*? Docs for PortalVue 2.*, compatible with Vue 2, are here
1npm i portal-vue 2 3# or 4 5yarn add portal-vue
1import PortalVue from 'portal-vue' 2Vue.use(PortalVue)
1<portal to="destination"> 2 <p>This slot content will be rendered wherever the <portal-target> with name 'destination' 3 is located.</p> 4</portal> 5 6<portal-target name="destination"> 7 <!-- 8 This component can be located anywhere in your App. 9 The slot content of the above portal component will be rendered here. 10 --> 11</portal-target>
Add portal-vue/nuxt
to modules section of nuxt.config.js
1{ 2 modules: ['portal-vue/nuxt'] 3}
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/30 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
39 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More