1.0.9 • Published 1 year ago

unplugin-vue-component-ref v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

使用方式

//client

import {createApp} from "vue"
import App from "./app"
import unpluginVueRef from "unplugin-vue-component-ref/client"

createApp(App).use(unpluginVueRef)

vite

import { vitePlugin } from "unplugin-vue-component-ref/node";

interface Options {
	include?: FilterPattern;
	exclude?: FilterPattern;
}

export default defineConfig({
  plugins: [
    vitePlugin({ /* options */ }) //
  ],
});

vue.config.js

const { webpackPlugin } = require("unplugin-vue-component-ref/node") ;

interface Options {
	include?: FilterPattern;
	exclude?: FilterPattern;
}

module.exports = {
  configureWebpack: {
    plugins: [
      webpackPlugin({ /* options */ }),
    ],
  },
};
1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago