The component will flash with a red border when it will update.
npm install z-vue-scanA Vue scanning plugin that works with both Vue 2 and Vue 3. The component will flash with a red border when it will update.

- 🎯 Works with both Vue 2 and Vue 3
- 🔄 Powered by vue-demi
- 📦 Lightweight
- 💪 Written in TypeScript
``bashnpm
npm install z-vue-scan
Usage
`ts
interface Options {
enable?: boolean
hideCompnentName?: boolean
}
`$3
`ts
// vue3
import { createApp } from 'vue'
import VueScan, { type VueScanOptions } from 'z-vue-scan/src'import App from './App.vue'
const app = createApp(App)
app.use(VueScan, {})
app.mount('#app')
`$3
`ts
// vue2
import Vue from 'vue'
import VueScan, { type VueScanBaseOptions } from 'z-vue-scan/vue2'
import App from './App.vue'Vue.use(VueScan, {})
new Vue({
render: h => h(App),
}).$mount('#app')
`$3
`bash
npm
npm install z-vue-scan-nuxt-moduleyarn
yarn add z-vue-scan-nuxt-modulepnpm
pnpm add z-vue-scan-nuxt-module
`You can use z-vue-scan in your Nuxt project by adding it to the
modules section in your nuxt.config.ts:`ts
export default defineNuxtConfig({
modules: ['z-vue-scan-nuxt-module'],
vueScan: {
// options
enable: true,
hideCompnentName: false
}
})
`Development
`bash
Install dependencies
pnpm installRun development server with Vue 3 example
pnpm devRun development server with Vue 2 example
pnpm dev:vue2Build the package
pnpm buildRun type check
pnpm typecheckRun linting
pnpm lint
``