Socket
Book a DemoInstallSign in
Socket

bun-plugin-vue3

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bun-plugin-vue3

a Bun plugin for Vue 3

latest
Source
npmnpm
Version
1.0.0-beta.2
Version published
Weekly downloads
690
32.69%
Maintainers
1
Weekly downloads
 
Created
Source

bun-plugin-vue3

A Bun plugin for Vue 3 Single File Components.

NPM version install size NPM Downloads

Installation

bun add -D bun-plugin-vue3

Dev Server Usage

bun-plugin-vue3 integrates with Bun's Fullstack Dev Server, giving you HMR when developing your Vue app.

Start by registering it in your bunfig.toml:

[serve.static]
plugins = ["bun-plugin-vue3"]

Then start your dev server:

bun index.html

Bundler Usage

bun-plugin-vue3 lets you bundle Vue components with Bun.build.

// build.ts
// to use: bun build.ts
import { pluginVue3 } from 'bun-plugin-vue3'

await Bun.build({
  entrypoints: ['./index.html'],
  outdir: './dist',
  plugins: [
    pluginVue3({
      isProduction: false, // Enable for production builds
    }),
  ],
})

Development

Setup

git clone https://github.com/jh0rman/bun-plugin-vue.git
cd bun-plugin-vue
bun install

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Keywords

bun

FAQs

Package last updated on 26 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts