rsbuild-plugin-unplugin-vue
Rsbuild plugin that integrates unplugin-vue for Vue SFC compilation. Works seamlessly with both Rsbuild and Rslib. This plugin could be used with Rsbuild project a
21,589
6
| Install | |
|---|---|
npm install rsbuild-plugin-unplugin-vue |
|
| Latest Version: | 0.2.0 |
| Vue: | 3 |
| License: | MIT |
| Last Updated: | Oct 22, 2026 |
| Links: | GitHub · npm |
Maintainer: fi3ework
rsbuild-plugin-unplugin-vue
Rsbuild plugin that integrates unplugin-vue for Vue SFC compilation. Works seamlessly with both Rsbuild and Rslib. This plugin could be used with Rsbuild project as an alternative to @rsbuild/plugin-vue.
[!CAUTION] HMR is not supported with Rsbuild yet. Track the issue here. This plugin is mainly used for building Vue components with Rslib as of now.
This plugin is recommended for projects using Rslib to build Vue components for the time being.
Usage
Install:
npm add rsbuild-plugin-unplugin-vue -D
Add plugin to your rsbuild.config.ts:
// rsbuild.config.ts / rslib.config.ts
import { pluginUnpluginVue } from 'rsbuild-plugin-unplugin-vue'
export default {
plugins: [pluginUnpluginVue()],
}
Options
unpluginVueOptions
Some description.
- Type:
import('unplugin-vue/api').Options - Default:
undefined - Example:
pluginUnpluginVue({
unpluginVueOptions: {
include: ['**/*.vue'],
},
})
License
MIT.
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 0.2.0 | ^3.5.30 | MIT | |
| 0.1.0 | ^3.5.13 | MIT | |
| 0.0.5 | ^3.5.13 | MIT | |
| 0.0.4 | ^3.5.13 | MIT | |
| 0.0.3 | ^3.5.13 | MIT | |
| 0.0.2 | ^3.5.13 | MIT | |
| 0.0.1 | ^3.5.13 | MIT |