diff --git a/README.md b/README.md index 9bfaf49..1951dae 100644 --- a/README.md +++ b/README.md @@ -43,13 +43,13 @@ pnpm install unplugin-vue-inspector -D // for Vue2 import { defineConfig, } from 'vite' -import { createVuePlugin, } from 'vite-plugin-vue2' +import vue from '@vitejs/plugin-vue2' import Inspector from 'unplugin-vue-inspector/vite' // OR vite-plugin-vue-inspector export default defineConfig({ plugins: [ - createVuePlugin(), + vue(), Inspector({ vue: 2 }),