Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import type { Esmx } from '@esmx/core';
import type { RspackHtmlAppOptions } from '@esmx/rspack';
import { createRspackVueApp } from './vue-app';
export interface RspackVueAppOptions extends RspackHtmlAppOptions {
vueLoader?: Record<string, any>;
}
export function createRspackVue2App(esmx: Esmx, options?: RspackVueAppOptions) {
return createRspackVueApp(esmx, '2', options);
}
export function createRspackVue3App(esmx: Esmx, options?: RspackVueAppOptions) {
return createRspackVueApp(esmx, '3', options);
}
|