Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
@unplugin-vue-ce/switch-shadow
Advanced tools
A vue plugin that extends vue's Custom Element capabilities (free switch shadow)
The implementation principle of @unplugin-vue-ce/switch-shadow
comes from vue/core pr #7971
Tips: ⚠ This plugin will inject the implementation code into the vue runtime, which is what I have to tell you. If you have any problems using it, please submit an issue
TODO
npm i @unplugin-vue-ce/switch-shadow
or
yarn add @unplugin-vue-ce/switch-shadow
or
pnpm add @unplugin-vue-ce/switch-shadow
// vite.config.ts
import { defineConfig } from 'vite'
import { viteVueCEShadow } from '@unplugin-vue-ce/switch-shadow'
import vue from '@vitejs/plugin-vue'
import type { PluginOption } from 'vite'
export default defineConfig({
plugins: [
vue(),
viteVueCEShadow() as PluginOption,
],
})
// rollup.config.js
import { rollupVueCEShadow } from '@unplugin-vue-ce/switch-shadow'
export default {
plugins: [
rollupVueCEShadow(),
],
}
// webpack.config.js
module.exports = {
/* ... */
plugins: [
require('@unplugin-vue-ce/switch-shadow').webpackVueCEShadow(),
],
}
// vue.config.js
module.exports = {
configureWebpack: {
plugins: [
require('@unplugin-vue-ce/switch-shadow').webpackVueCEShadow({}),
],
},
}
// esbuild.config.js
import { build } from 'esbuild'
import { esbuildVueCEShadow } from '@unplugin-vue-ce/switch-shadow'
build({
plugins: [esbuildVueCEShadow()],
})
FAQs
A vue plugin that extends vue's Custom Element capabilities (free switch shadow)
The npm package @unplugin-vue-ce/switch-shadow receives a total of 843 weekly downloads. As such, @unplugin-vue-ce/switch-shadow popularity was classified as not popular.
We found that @unplugin-vue-ce/switch-shadow demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.