Goal
Extract user-facing strings from Vue SFCs (.vue), the same way we do for React/TSX.
Scope for a first PR
Start with the <template> block only:
- text nodes (
<p>Hello</p>)
- a curated attribute allow-list (
title, placeholder, aria-*, ...)
- skip
:class / class and directives
Pointers
- Parse
.vue with @vue/compiler-sfc (template AST) instead of Babel.
- Mirror
src/extract.mjs; keep the same record shape {file,start,end,kind,text} so apply and verify work unchanged.
- Larger than the other issues — labeled help wanted. Ask questions on the issue before diving in.
Goal
Extract user-facing strings from Vue SFCs (
.vue), the same way we do for React/TSX.Scope for a first PR
Start with the
<template>block only:<p>Hello</p>)title,placeholder,aria-*, ...):class/classand directivesPointers
.vuewith@vue/compiler-sfc(template AST) instead of Babel.src/extract.mjs; keep the same record shape{file,start,end,kind,text}soapplyandverifywork unchanged.