import { File } from "./file.js"; export type StaticVueFile = File; /** * Creates a static Vue component file * * @example * // Create a Vue component file with content * const button = await StaticVueFile("Button.vue", * ` * * * * ` * ); */ export function StaticVueFile( id: string, ...args: [content: string] | [path: string, content: string] ): Promise { const [path, content] = args.length === 1 ? [id, args[0]] : args; return File(id, { path, content, }); }