@esmx/vite-vue
The Vue 3 preset for @esmx/vite. It adds @vitejs/plugin-vue (SFC compilation + HMR) on top of the base Vite integration, and re-exports everything from @esmx/vite.
Installation
vue (>=3) is a peer dependency and must be installed in your project.
Type Exports
ViteVueAppOptions
Configuration options, identical to ViteAppOptions. The Vue plugin is injected automatically through the config hook, applying to every build target and the dev server.
Function Exports
createViteVueApp
Create a Vite + Vue 3 Esmx application instance.
Parameters:
esmx— Esmx framework instanceoptions— Vite 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/vite (e.g. createViteApp, BuildTarget, vite), so you can import the base APIs directly from @esmx/vite-vue.