All files / src vue.ts

0% Statements 0/7
100% Branches 1/1
100% Functions 1/1
0% Lines 0/7

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);
}