@esmx/rsbuild-vue
The Vue 3 preset for @esmx/rsbuild. It adds @rsbuild/plugin-vue (SFC compilation + HMR) on top of the base Rsbuild integration, and re-exports everything from @esmx/rsbuild.
Installation
vue (>=3) is a peer dependency and must be installed in your project.
Type Exports
RsbuildVueAppOptions
Configuration options, identical to RsbuildAppOptions. The Vue plugin is injected automatically through the config hook, applying to every build target.
Function Exports
createRsbuildVueApp
Create an Rsbuild + Vue 3 Esmx application instance.
Parameters:
esmx— Esmx framework instanceoptions— Rsbuild Vue application configuration options
Returns:
- Returns a
Promisethat resolves to the created application instance
src/entry.node.ts
Re-exports
This package re-exports all members of @esmx/rsbuild (e.g. createRsbuildApp, BuildTarget, rspack), so you can import the base APIs directly from @esmx/rsbuild-vue.