English | 简体中文
About various Vue SFC source code conversion methods
export interface Options {
id?: string
appName?: string
}
export declare function useXxx2x({ id, appName }?: Options): {
scr2app: (scriptSource: string, setup?: boolean) => string
tem2render: (templateSource: string) => string
sty2css: (styleSource: string, scoped?: boolean) => string
sfc2x: (sfcSource: string, mount?: string) => {
esm: string
app: string
render: string
css: string
}
}
logo by: vue-sfc2esm
dependencies: @vue/compiler-sfc