1.0.0-beta.21 • Published 1 month ago
@unplugin-vue-ce/switch-shadow v1.0.0-beta.21
@unplugin-vue-ce/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
Snapshot
TODO
Install
npm i @unplugin-vue-ce/switch-shadow
or
yarn add @unplugin-vue-ce/switch-shadow
or
pnpm add @unplugin-vue-ce/switch-shadow
Usage
// 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()],
})
1.0.0-beta.20
1 month ago
1.0.0-beta.21
1 month ago
1.0.0-beta.19
5 months ago
1.0.0-beta.11
9 months ago
1.0.0-beta.12
9 months ago
1.0.0-beta.10
9 months ago
1.0.0-beta.17
7 months ago
1.0.0-beta.18
6 months ago
1.0.0-beta.15
9 months ago
1.0.0-beta.16
9 months ago
1.0.0-beta.13
9 months ago
1.0.0-beta.14
9 months ago
1.0.0-beta.9
11 months ago
1.0.0-beta.8
11 months ago
1.0.0-beta.6
12 months ago
1.0.0-beta.5
12 months ago
1.0.0-beta.4
12 months ago
1.0.0-beta.3
12 months ago