@wxt-dev/module-vue

WXT module to enable Vue support
421,409 10,637
Install
npm install @wxt-dev/module-vue
Latest Version:1.0.3
Vue:3
License:MIT
Last Updated:Oct 21, 2026
Links: GitHub  ·  npm
Maintainer: _aklinker1

@wxt-dev/module-vue

Enables the use of Vue in your web extension, in HTML pages and content scripts.

This plugin makes a few changes:

  1. Adds @vitejs/plugin-vue to vite config
  2. Adds the vue preset to auto-imports
  3. Applies sourcemap fix to prevent HMR errors during development
  4. Enable auto-imports in .vue files

Usage

pnpm i vue
pnpm i -D @wxt-dev/module-vue

Then add the module to your config:

// wxt.config.ts
export default defineConfig({
  // Required
  modules: ['@wxt-dev/module-vue'],

  // Optional: Pass options to the module:
  vue: {
    vite: {
      script: {
        propsDestructure: true,
      },
    },
  },
});

Related Packages

nuxt-define

One utility function for module authors to define compiler constants for all bui...

13,412,511
@lg2/nuxt3-module-create-dato-map

nuxt3-module-create-dato-map

2,869 0
nuxt-csurf

Nuxt Cross-Site Request Forgery (CSRF) Prevention

6,263,746 91
@bg-dev/nuxt-naiveui

Unofficial Naive UI module for Nuxt

144,316 187
@ztl-uwu/nuxt-content

Write your content inside your Nuxt app

34,108

Version History

Version Released License
1.0.3 MIT
1.0.2 MIT
1.0.1 MIT
1.0.0