UNPKG

@stacksjs/stx

Version:

A performant UI Framework. Powered by Bun.

16 lines 660 B
/** * Check if template contains any Vue-style directives. * Quick check to avoid unnecessary processing. */ export declare function hasVueTemplateSyntax(template: string): boolean; /** * Process Vue template syntax and convert to stx directives. * * This is designed to be called early in the processing pipeline, * before any stx directive processing. It transforms Vue-style syntax * into stx's native directive format. * * @param template - The template string potentially containing Vue directives * @returns The template with Vue directives converted to stx equivalents */ export declare function processVueTemplate(template: string): string;