[{"data":1,"prerenderedAt":1325},["ShallowReactive",2],{"docs-navigation:en":3,"content-page:docs:RFHjT0Gycj8rWYZ08_ltQE6oKPzrgaD7hnVabeHdMPc":135,"content-page-surround:docs:RFHjT0Gycj8rWYZ08_ltQE6oKPzrgaD7hnVabeHdMPc":1312,"i-logos:vue":1315,"i-logos:typescript-icon":1320,"i-lucide:clipboard":1322},[4,29,66,103],{"title":5,"id":6,"canonicalKey":7,"locale":8,"draft":9,"icon":10,"sidebar":11,"path":12,"children":13},"Getting Started","content:docs:1.getting-started:.navigation.yml","1","en",false,"i-lucide-rocket","section","\u002Fdocs\u002Fgetting-started",[14,19,24],{"title":15,"id":16,"canonicalKey":17,"locale":8,"draft":9,"path":18},"Installation","content:docs:1.getting-started:2.installation.md","1\u002F2","\u002Fdocs\u002Fgetting-started\u002Finstallation",{"title":20,"id":21,"canonicalKey":22,"locale":8,"draft":9,"path":23},"Your first email","content:docs:1.getting-started:3.first-email.md","1\u002F3","\u002Fdocs\u002Fgetting-started\u002Ffirst-email",{"title":25,"id":26,"canonicalKey":27,"locale":8,"draft":9,"path":28},"Render from Nitro","content:docs:1.getting-started:4.render-from-nitro.md","1\u002F4","\u002Fdocs\u002Fgetting-started\u002Frender-from-nitro",{"title":30,"id":31,"canonicalKey":32,"locale":8,"draft":9,"icon":33,"sidebar":11,"path":34,"children":35},"Components","content:docs:2.components:.navigation.yml","2","i-lucide-blocks","\u002Fdocs\u002Fcomponents",[36,41,46,51,56,61],{"title":37,"id":38,"canonicalKey":39,"locale":8,"draft":9,"path":40},"Structure","content:docs:2.components:2.structure.md","2\u002F2","\u002Fdocs\u002Fcomponents\u002Fstructure",{"title":42,"id":43,"canonicalKey":44,"locale":8,"draft":9,"path":45},"Layout","content:docs:2.components:3.layout.md","2\u002F3","\u002Fdocs\u002Fcomponents\u002Flayout",{"title":47,"id":48,"canonicalKey":49,"locale":8,"draft":9,"path":50},"Content","content:docs:2.components:4.content.md","2\u002F4","\u002Fdocs\u002Fcomponents\u002Fcontent",{"title":52,"id":53,"canonicalKey":54,"locale":8,"draft":9,"path":55},"Code","content:docs:2.components:5.code.md","2\u002F5","\u002Fdocs\u002Fcomponents\u002Fcode",{"title":57,"id":58,"canonicalKey":59,"locale":8,"draft":9,"path":60},"Markdown","content:docs:2.components:6.markdown.md","2\u002F6","\u002Fdocs\u002Fcomponents\u002Fmarkdown",{"title":62,"id":63,"canonicalKey":64,"locale":8,"draft":9,"path":65},"Tailwind","content:docs:2.components:7.tailwind.md","2\u002F7","\u002Fdocs\u002Fcomponents\u002Ftailwind",{"title":67,"id":68,"canonicalKey":69,"locale":8,"draft":9,"icon":70,"sidebar":11,"path":71,"children":72},"Guides","content:docs:3.guides:.navigation.yml","3","i-lucide-compass","\u002Fdocs\u002Fguides",[73,78,83,88,93,98],{"title":74,"id":75,"canonicalKey":76,"locale":8,"draft":9,"path":77},"Using Tailwind","content:docs:3.guides:2.tailwind.md","3\u002F2","\u002Fdocs\u002Fguides\u002Ftailwind",{"title":79,"id":80,"canonicalKey":81,"locale":8,"draft":9,"path":82},"Subject lines","content:docs:3.guides:3.subject-lines.md","3\u002F3","\u002Fdocs\u002Fguides\u002Fsubject-lines",{"title":84,"id":85,"canonicalKey":86,"locale":8,"draft":9,"path":87},"Plain text","content:docs:3.guides:4.plain-text.md","3\u002F4","\u002Fdocs\u002Fguides\u002Fplain-text",{"title":89,"id":90,"canonicalKey":91,"locale":8,"draft":9,"path":92},"Testing your emails","content:docs:3.guides:5.testing-your-emails.md","3\u002F5","\u002Fdocs\u002Fguides\u002Ftesting-your-emails",{"title":94,"id":95,"canonicalKey":96,"locale":8,"draft":9,"path":97},"Preview workflow","content:docs:3.guides:6.preview-workflow.md","3\u002F6","\u002Fdocs\u002Fguides\u002Fpreview-workflow",{"title":99,"id":100,"canonicalKey":101,"locale":8,"draft":9,"path":102},"Client compatibility and proofs","content:docs:3.guides:7.client-compatibility.md","3\u002F7","\u002Fdocs\u002Fguides\u002Fclient-compatibility",{"title":104,"id":105,"canonicalKey":106,"locale":8,"draft":9,"icon":107,"sidebar":11,"path":108,"children":109},"Reference","content:docs:4.reference:.navigation.yml","4","i-lucide-file-text","\u002Fdocs\u002Freference",[110,115,120,125,130],{"title":111,"id":112,"canonicalKey":113,"locale":8,"draft":9,"path":114},"renderEmail","content:docs:4.reference:2.render-email.md","4\u002F2","\u002Fdocs\u002Freference\u002Frender-email",{"title":116,"id":117,"canonicalKey":118,"locale":8,"draft":9,"path":119},"Module behavior","content:docs:4.reference:3.module.md","4\u002F3","\u002Fdocs\u002Freference\u002Fmodule",{"title":121,"id":122,"canonicalKey":123,"locale":8,"draft":9,"path":124},"Error types","content:docs:4.reference:4.errors.md","4\u002F4","\u002Fdocs\u002Freference\u002Ferrors",{"title":126,"id":127,"canonicalKey":128,"locale":8,"draft":9,"path":129},"Conformance & divergences","content:docs:4.reference:5.conformance.md","4\u002F5","\u002Fdocs\u002Freference\u002Fconformance",{"title":131,"id":132,"canonicalKey":133,"locale":8,"draft":9,"path":134},"Migration from React Email","content:docs:4.reference:6.migration.md","4\u002F6","\u002Fdocs\u002Freference\u002Fmigration",{"title":79,"description":136,"body":137,"type":1299,"id":80,"canonicalKey":81,"draft":9,"partial":9,"locale":8,"collection":1300,"navigationFile":9,"file":1301,"route":1307,"resolution":1309},"Compute a subject line from the same typed props with defineEmail, and read it back from the render result.",{"type":138,"children":139,"toc":1291},"root",[140,156,163,188,851,870,876,892,1110,1146,1152,1256],{"type":141,"tag":142,"props":143,"children":144},"element","p",{},[145,148,154],{"type":146,"value":147},"text","Nuxt Email does not own subjects — sending is your provider's job — but a template often knows how to phrase its own subject from the same data it renders. ",{"type":141,"tag":149,"props":150,"children":151},"code",{},[152],{"type":146,"value":153},"defineEmail",{"type":146,"value":155}," lets a template declare that subject, computed from its props, and surface it on the render result.",{"type":141,"tag":157,"props":158,"children":160},"h2",{"id":159},"declare-a-subject",[161],{"type":146,"value":162},"Declare a subject",{"type":141,"tag":142,"props":164,"children":165},{},[166,168,172,174,179,181,186],{"type":146,"value":167},"Call ",{"type":141,"tag":149,"props":169,"children":170},{},[171],{"type":146,"value":153},{"type":146,"value":173}," in the template's ",{"type":141,"tag":149,"props":175,"children":176},{},[177],{"type":146,"value":178},"\u003Cscript setup>",{"type":146,"value":180},". It is an explicit server-only import from ",{"type":141,"tag":149,"props":182,"children":183},{},[184],{"type":146,"value":185},"@lupinum\u002Fnuxt-email\u002Fdefine-email",{"type":146,"value":187},".",{"type":141,"tag":189,"props":190,"children":194},"pre",{"language":191,"filename":192,"class":193},"vue","app\u002Femails\u002Fwelcome.vue","shiki shiki-themes light-plus dark-plus dark:dark-plus",[195],{"type":141,"tag":149,"props":196,"children":198},{"class":197},"language-vue",[199,245,247,282,283,286,287,318,319,338,339,355,356,364,365,368,369,381,382,445,446,454,455,471,472,475,476,492,493,523,524,577,578,594,595,629,630,646,647,681,682,784,785,801,802,818,819,835,836],{"type":141,"tag":200,"props":201,"children":204},"span",{"class":202,"style":203},"line","display: inline",[205,211,217,223,228,234,240],{"type":141,"tag":200,"props":206,"children":208},{"style":207},"color:#800000;--shiki-dark:#808080",[209],{"type":146,"value":210},"\u003C",{"type":141,"tag":200,"props":212,"children":214},{"style":213},"color:#800000;--shiki-dark:#569CD6",[215],{"type":146,"value":216},"script",{"type":141,"tag":200,"props":218,"children":220},{"style":219},"color:#E50000;--shiki-dark:#9CDCFE",[221],{"type":146,"value":222}," setup",{"type":141,"tag":200,"props":224,"children":225},{"style":219},[226],{"type":146,"value":227}," lang",{"type":141,"tag":200,"props":229,"children":231},{"style":230},"color:#000000;--shiki-dark:#D4D4D4",[232],{"type":146,"value":233},"=",{"type":141,"tag":200,"props":235,"children":237},{"style":236},"color:#0000FF;--shiki-dark:#CE9178",[238],{"type":146,"value":239},"\"ts\"",{"type":141,"tag":200,"props":241,"children":242},{"style":207},[243],{"type":146,"value":244},">",{"type":146,"value":246},"\n",{"type":141,"tag":200,"props":248,"children":249},{"class":202,"style":203},[250,256,261,266,271,276],{"type":141,"tag":200,"props":251,"children":253},{"style":252},"color:#AF00DB;--shiki-dark:#C586C0",[254],{"type":146,"value":255},"import",{"type":141,"tag":200,"props":257,"children":258},{"style":230},[259],{"type":146,"value":260}," { ",{"type":141,"tag":200,"props":262,"children":264},{"style":263},"color:#001080;--shiki-dark:#9CDCFE",[265],{"type":146,"value":153},{"type":141,"tag":200,"props":267,"children":268},{"style":230},[269],{"type":146,"value":270}," } ",{"type":141,"tag":200,"props":272,"children":273},{"style":252},[274],{"type":146,"value":275},"from",{"type":141,"tag":200,"props":277,"children":279},{"style":278},"color:#A31515;--shiki-dark:#CE9178",[280],{"type":146,"value":281}," '@lupinum\u002Fnuxt-email\u002Fdefine-email'",{"type":146,"value":246},{"type":141,"tag":200,"props":284,"children":285},{"class":202,"style":203},[],{"type":146,"value":246},{"type":141,"tag":200,"props":288,"children":289},{"class":202,"style":203},[290,296,302,307,313],{"type":141,"tag":200,"props":291,"children":293},{"style":292},"color:#0000FF;--shiki-dark:#569CD6",[294],{"type":146,"value":295},"const",{"type":141,"tag":200,"props":297,"children":299},{"style":298},"color:#0070C1;--shiki-dark:#4FC1FF",[300],{"type":146,"value":301}," props",{"type":141,"tag":200,"props":303,"children":304},{"style":230},[305],{"type":146,"value":306}," = ",{"type":141,"tag":200,"props":308,"children":310},{"style":309},"color:#795E26;--shiki-dark:#DCDCAA",[311],{"type":146,"value":312},"defineProps",{"type":141,"tag":200,"props":314,"children":315},{"style":230},[316],{"type":146,"value":317},"\u003C{",{"type":146,"value":246},{"type":141,"tag":200,"props":320,"children":321},{"class":202,"style":203},[322,327,332],{"type":141,"tag":200,"props":323,"children":324},{"style":263},[325],{"type":146,"value":326},"  firstName",{"type":141,"tag":200,"props":328,"children":329},{"style":230},[330],{"type":146,"value":331},": ",{"type":141,"tag":200,"props":333,"children":335},{"style":334},"color:#267F99;--shiki-dark:#4EC9B0",[336],{"type":146,"value":337},"string",{"type":146,"value":246},{"type":141,"tag":200,"props":340,"children":341},{"class":202,"style":203},[342,347,351],{"type":141,"tag":200,"props":343,"children":344},{"style":263},[345],{"type":146,"value":346},"  activationUrl",{"type":141,"tag":200,"props":348,"children":349},{"style":230},[350],{"type":146,"value":331},{"type":141,"tag":200,"props":352,"children":353},{"style":334},[354],{"type":146,"value":337},{"type":146,"value":246},{"type":141,"tag":200,"props":357,"children":358},{"class":202,"style":203},[359],{"type":141,"tag":200,"props":360,"children":361},{"style":230},[362],{"type":146,"value":363},"}>()",{"type":146,"value":246},{"type":141,"tag":200,"props":366,"children":367},{"class":202,"style":203},[],{"type":146,"value":246},{"type":141,"tag":200,"props":370,"children":371},{"class":202,"style":203},[372,376],{"type":141,"tag":200,"props":373,"children":374},{"style":309},[375],{"type":146,"value":153},{"type":141,"tag":200,"props":377,"children":378},{"style":230},[379],{"type":146,"value":380},"({",{"type":146,"value":246},{"type":141,"tag":200,"props":383,"children":384},{"class":202,"style":203},[385,390,395,400,405,410,415,420,425,430,435,440],{"type":141,"tag":200,"props":386,"children":387},{"style":309},[388],{"type":146,"value":389},"  subject",{"type":141,"tag":200,"props":391,"children":392},{"style":263},[393],{"type":146,"value":394},":",{"type":141,"tag":200,"props":396,"children":397},{"style":230},[398],{"type":146,"value":399}," () ",{"type":141,"tag":200,"props":401,"children":402},{"style":292},[403],{"type":146,"value":404},"=>",{"type":141,"tag":200,"props":406,"children":407},{"style":278},[408],{"type":146,"value":409}," `Welcome aboard, ",{"type":141,"tag":200,"props":411,"children":412},{"style":292},[413],{"type":146,"value":414},"${",{"type":141,"tag":200,"props":416,"children":417},{"style":263},[418],{"type":146,"value":419},"props",{"type":141,"tag":200,"props":421,"children":423},{"style":422},"color:#000000FF;--shiki-dark:#D4D4D4",[424],{"type":146,"value":187},{"type":141,"tag":200,"props":426,"children":427},{"style":263},[428],{"type":146,"value":429},"firstName",{"type":141,"tag":200,"props":431,"children":432},{"style":292},[433],{"type":146,"value":434},"}",{"type":141,"tag":200,"props":436,"children":437},{"style":278},[438],{"type":146,"value":439},"`",{"type":141,"tag":200,"props":441,"children":442},{"style":230},[443],{"type":146,"value":444},",",{"type":146,"value":246},{"type":141,"tag":200,"props":447,"children":448},{"class":202,"style":203},[449],{"type":141,"tag":200,"props":450,"children":451},{"style":230},[452],{"type":146,"value":453},"})",{"type":146,"value":246},{"type":141,"tag":200,"props":456,"children":457},{"class":202,"style":203},[458,463,467],{"type":141,"tag":200,"props":459,"children":460},{"style":207},[461],{"type":146,"value":462},"\u003C\u002F",{"type":141,"tag":200,"props":464,"children":465},{"style":213},[466],{"type":146,"value":216},{"type":141,"tag":200,"props":468,"children":469},{"style":207},[470],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":473,"children":474},{"class":202,"style":203},[],{"type":146,"value":246},{"type":141,"tag":200,"props":477,"children":478},{"class":202,"style":203},[479,483,488],{"type":141,"tag":200,"props":480,"children":481},{"style":207},[482],{"type":146,"value":210},{"type":141,"tag":200,"props":484,"children":485},{"style":213},[486],{"type":146,"value":487},"template",{"type":141,"tag":200,"props":489,"children":490},{"style":207},[491],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":494,"children":495},{"class":202,"style":203},[496,501,506,510,514,519],{"type":141,"tag":200,"props":497,"children":498},{"style":207},[499],{"type":146,"value":500},"  \u003C",{"type":141,"tag":200,"props":502,"children":503},{"style":213},[504],{"type":146,"value":505},"EHtml",{"type":141,"tag":200,"props":507,"children":508},{"style":219},[509],{"type":146,"value":227},{"type":141,"tag":200,"props":511,"children":512},{"style":230},[513],{"type":146,"value":233},{"type":141,"tag":200,"props":515,"children":516},{"style":236},[517],{"type":146,"value":518},"\"en\"",{"type":141,"tag":200,"props":520,"children":521},{"style":207},[522],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":525,"children":526},{"class":202,"style":203},[527,532,537,542,547,551,556,560,564,569,573],{"type":141,"tag":200,"props":528,"children":529},{"style":207},[530],{"type":146,"value":531},"    \u003C",{"type":141,"tag":200,"props":533,"children":534},{"style":213},[535],{"type":146,"value":536},"EHead",{"type":141,"tag":200,"props":538,"children":539},{"style":207},[540],{"type":146,"value":541},">\u003C",{"type":141,"tag":200,"props":543,"children":544},{"style":213},[545],{"type":146,"value":546},"title",{"type":141,"tag":200,"props":548,"children":549},{"style":207},[550],{"type":146,"value":244},{"type":141,"tag":200,"props":552,"children":553},{"style":230},[554],{"type":146,"value":555},"Activate your account",{"type":141,"tag":200,"props":557,"children":558},{"style":207},[559],{"type":146,"value":462},{"type":141,"tag":200,"props":561,"children":562},{"style":213},[563],{"type":146,"value":546},{"type":141,"tag":200,"props":565,"children":566},{"style":207},[567],{"type":146,"value":568},">\u003C\u002F",{"type":141,"tag":200,"props":570,"children":571},{"style":213},[572],{"type":146,"value":536},{"type":141,"tag":200,"props":574,"children":575},{"style":207},[576],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":579,"children":580},{"class":202,"style":203},[581,585,590],{"type":141,"tag":200,"props":582,"children":583},{"style":207},[584],{"type":146,"value":531},{"type":141,"tag":200,"props":586,"children":587},{"style":213},[588],{"type":146,"value":589},"EBody",{"type":141,"tag":200,"props":591,"children":592},{"style":207},[593],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":596,"children":597},{"class":202,"style":203},[598,603,608,612,617,621,625],{"type":141,"tag":200,"props":599,"children":600},{"style":207},[601],{"type":146,"value":602},"      \u003C",{"type":141,"tag":200,"props":604,"children":605},{"style":213},[606],{"type":146,"value":607},"EPreview",{"type":141,"tag":200,"props":609,"children":610},{"style":207},[611],{"type":146,"value":244},{"type":141,"tag":200,"props":613,"children":614},{"style":230},[615],{"type":146,"value":616},"Your account is ready.",{"type":141,"tag":200,"props":618,"children":619},{"style":207},[620],{"type":146,"value":462},{"type":141,"tag":200,"props":622,"children":623},{"style":213},[624],{"type":146,"value":607},{"type":141,"tag":200,"props":626,"children":627},{"style":207},[628],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":631,"children":632},{"class":202,"style":203},[633,637,642],{"type":141,"tag":200,"props":634,"children":635},{"style":207},[636],{"type":146,"value":602},{"type":141,"tag":200,"props":638,"children":639},{"style":213},[640],{"type":146,"value":641},"EContainer",{"type":141,"tag":200,"props":643,"children":644},{"style":207},[645],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":648,"children":649},{"class":202,"style":203},[650,655,660,664,669,673,677],{"type":141,"tag":200,"props":651,"children":652},{"style":207},[653],{"type":146,"value":654},"        \u003C",{"type":141,"tag":200,"props":656,"children":657},{"style":213},[658],{"type":146,"value":659},"EHeading",{"type":141,"tag":200,"props":661,"children":662},{"style":207},[663],{"type":146,"value":244},{"type":141,"tag":200,"props":665,"children":666},{"style":230},[667],{"type":146,"value":668},"Welcome, {{ firstName }}",{"type":141,"tag":200,"props":670,"children":671},{"style":207},[672],{"type":146,"value":462},{"type":141,"tag":200,"props":674,"children":675},{"style":213},[676],{"type":146,"value":659},{"type":141,"tag":200,"props":678,"children":679},{"style":207},[680],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":683,"children":684},{"class":202,"style":203},[685,689,694,699,704,708,713,718,722,726,731,735,739,744,749,754,759,763,767,772,776,780],{"type":141,"tag":200,"props":686,"children":687},{"style":207},[688],{"type":146,"value":654},{"type":141,"tag":200,"props":690,"children":691},{"style":213},[692],{"type":146,"value":693},"EButton",{"type":141,"tag":200,"props":695,"children":696},{"style":230},[697],{"type":146,"value":698}," :",{"type":141,"tag":200,"props":700,"children":701},{"style":219},[702],{"type":146,"value":703},"href",{"type":141,"tag":200,"props":705,"children":706},{"style":230},[707],{"type":146,"value":233},{"type":141,"tag":200,"props":709,"children":710},{"style":230},[711],{"type":146,"value":712},"\"",{"type":141,"tag":200,"props":714,"children":715},{"style":263},[716],{"type":146,"value":717},"activationUrl",{"type":141,"tag":200,"props":719,"children":720},{"style":230},[721],{"type":146,"value":712},{"type":141,"tag":200,"props":723,"children":724},{"style":230},[725],{"type":146,"value":698},{"type":141,"tag":200,"props":727,"children":728},{"style":219},[729],{"type":146,"value":730},"style",{"type":141,"tag":200,"props":732,"children":733},{"style":230},[734],{"type":146,"value":233},{"type":141,"tag":200,"props":736,"children":737},{"style":230},[738],{"type":146,"value":712},{"type":141,"tag":200,"props":740,"children":741},{"style":230},[742],{"type":146,"value":743},"{ ",{"type":141,"tag":200,"props":745,"children":746},{"style":263},[747],{"type":146,"value":748},"padding:",{"type":141,"tag":200,"props":750,"children":751},{"style":278},[752],{"type":146,"value":753}," '12px 20px'",{"type":141,"tag":200,"props":755,"children":756},{"style":230},[757],{"type":146,"value":758}," }",{"type":141,"tag":200,"props":760,"children":761},{"style":230},[762],{"type":146,"value":712},{"type":141,"tag":200,"props":764,"children":765},{"style":207},[766],{"type":146,"value":244},{"type":141,"tag":200,"props":768,"children":769},{"style":230},[770],{"type":146,"value":771},"Activate",{"type":141,"tag":200,"props":773,"children":774},{"style":207},[775],{"type":146,"value":462},{"type":141,"tag":200,"props":777,"children":778},{"style":213},[779],{"type":146,"value":693},{"type":141,"tag":200,"props":781,"children":782},{"style":207},[783],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":786,"children":787},{"class":202,"style":203},[788,793,797],{"type":141,"tag":200,"props":789,"children":790},{"style":207},[791],{"type":146,"value":792},"      \u003C\u002F",{"type":141,"tag":200,"props":794,"children":795},{"style":213},[796],{"type":146,"value":641},{"type":141,"tag":200,"props":798,"children":799},{"style":207},[800],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":803,"children":804},{"class":202,"style":203},[805,810,814],{"type":141,"tag":200,"props":806,"children":807},{"style":207},[808],{"type":146,"value":809},"    \u003C\u002F",{"type":141,"tag":200,"props":811,"children":812},{"style":213},[813],{"type":146,"value":589},{"type":141,"tag":200,"props":815,"children":816},{"style":207},[817],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":820,"children":821},{"class":202,"style":203},[822,827,831],{"type":141,"tag":200,"props":823,"children":824},{"style":207},[825],{"type":146,"value":826},"  \u003C\u002F",{"type":141,"tag":200,"props":828,"children":829},{"style":213},[830],{"type":146,"value":505},{"type":141,"tag":200,"props":832,"children":833},{"style":207},[834],{"type":146,"value":244},{"type":146,"value":246},{"type":141,"tag":200,"props":837,"children":838},{"class":202,"style":203},[839,843,847],{"type":141,"tag":200,"props":840,"children":841},{"style":207},[842],{"type":146,"value":462},{"type":141,"tag":200,"props":844,"children":845},{"style":213},[846],{"type":146,"value":487},{"type":141,"tag":200,"props":848,"children":849},{"style":207},[850],{"type":146,"value":244},{"type":141,"tag":142,"props":852,"children":853},{},[854,856,861,863,868],{"type":146,"value":855},"The zero-argument ",{"type":141,"tag":149,"props":857,"children":858},{},[859],{"type":146,"value":860},"subject",{"type":146,"value":862}," closure captures the template's real ",{"type":141,"tag":149,"props":864,"children":865},{},[866],{"type":146,"value":867},"defineProps()",{"type":146,"value":869}," value and returns the subject string. There is no separate generic prop declaration that can drift from the SFC.",{"type":141,"tag":157,"props":871,"children":873},{"id":872},"read-it-back",[874],{"type":146,"value":875},"Read it back",{"type":141,"tag":142,"props":877,"children":878},{},[879,881,885,887,891],{"type":146,"value":880},"When a template calls ",{"type":141,"tag":149,"props":882,"children":883},{},[884],{"type":146,"value":153},{"type":146,"value":886},", the render result carries a ",{"type":141,"tag":149,"props":888,"children":889},{},[890],{"type":146,"value":860},{"type":146,"value":394},{"type":141,"tag":189,"props":893,"children":896},{"language":894,"filename":895,"class":193},"ts","server\u002Fapi\u002Fwelcome.get.ts",[897],{"type":141,"tag":149,"props":898,"children":900},{"class":899},"language-ts",[901,942,943,1006,1007,1024,1025,1042,1043,1051,1052,1055,1056,1065,1066,1102,1103],{"type":141,"tag":200,"props":902,"children":903},{"class":202,"style":203},[904,909,914,919,924,929,933,937],{"type":141,"tag":200,"props":905,"children":906},{"style":252},[907],{"type":146,"value":908},"export",{"type":141,"tag":200,"props":910,"children":911},{"style":252},[912],{"type":146,"value":913}," default",{"type":141,"tag":200,"props":915,"children":916},{"style":309},[917],{"type":146,"value":918}," defineEventHandler",{"type":141,"tag":200,"props":920,"children":921},{"style":230},[922],{"type":146,"value":923},"(",{"type":141,"tag":200,"props":925,"children":926},{"style":292},[927],{"type":146,"value":928},"async",{"type":141,"tag":200,"props":930,"children":931},{"style":230},[932],{"type":146,"value":399},{"type":141,"tag":200,"props":934,"children":935},{"style":292},[936],{"type":146,"value":404},{"type":141,"tag":200,"props":938,"children":939},{"style":230},[940],{"type":146,"value":941}," {",{"type":146,"value":246},{"type":141,"tag":200,"props":944,"children":945},{"class":202,"style":203},[946,951,955,960,965,969,973,977,982,987,992,996,1001],{"type":141,"tag":200,"props":947,"children":948},{"style":292},[949],{"type":146,"value":950},"  const",{"type":141,"tag":200,"props":952,"children":953},{"style":230},[954],{"type":146,"value":260},{"type":141,"tag":200,"props":956,"children":957},{"style":298},[958],{"type":146,"value":959},"html",{"type":141,"tag":200,"props":961,"children":962},{"style":230},[963],{"type":146,"value":964},", ",{"type":141,"tag":200,"props":966,"children":967},{"style":298},[968],{"type":146,"value":146},{"type":141,"tag":200,"props":970,"children":971},{"style":230},[972],{"type":146,"value":964},{"type":141,"tag":200,"props":974,"children":975},{"style":298},[976],{"type":146,"value":860},{"type":141,"tag":200,"props":978,"children":979},{"style":230},[980],{"type":146,"value":981}," } = ",{"type":141,"tag":200,"props":983,"children":984},{"style":252},[985],{"type":146,"value":986},"await",{"type":141,"tag":200,"props":988,"children":989},{"style":309},[990],{"type":146,"value":991}," renderEmail",{"type":141,"tag":200,"props":993,"children":994},{"style":230},[995],{"type":146,"value":923},{"type":141,"tag":200,"props":997,"children":998},{"style":278},[999],{"type":146,"value":1000},"'welcome'",{"type":141,"tag":200,"props":1002,"children":1003},{"style":230},[1004],{"type":146,"value":1005},", {",{"type":146,"value":246},{"type":141,"tag":200,"props":1008,"children":1009},{"class":202,"style":203},[1010,1015,1020],{"type":141,"tag":200,"props":1011,"children":1012},{"style":263},[1013],{"type":146,"value":1014},"    firstName:",{"type":141,"tag":200,"props":1016,"children":1017},{"style":278},[1018],{"type":146,"value":1019}," 'Ada'",{"type":141,"tag":200,"props":1021,"children":1022},{"style":230},[1023],{"type":146,"value":444},{"type":146,"value":246},{"type":141,"tag":200,"props":1026,"children":1027},{"class":202,"style":203},[1028,1033,1038],{"type":141,"tag":200,"props":1029,"children":1030},{"style":263},[1031],{"type":146,"value":1032},"    activationUrl:",{"type":141,"tag":200,"props":1034,"children":1035},{"style":278},[1036],{"type":146,"value":1037}," 'https:\u002F\u002Fexample.com\u002Factivate'",{"type":141,"tag":200,"props":1039,"children":1040},{"style":230},[1041],{"type":146,"value":444},{"type":146,"value":246},{"type":141,"tag":200,"props":1044,"children":1045},{"class":202,"style":203},[1046],{"type":141,"tag":200,"props":1047,"children":1048},{"style":230},[1049],{"type":146,"value":1050},"  })",{"type":146,"value":246},{"type":141,"tag":200,"props":1053,"children":1054},{"class":202,"style":203},[],{"type":146,"value":246},{"type":141,"tag":200,"props":1057,"children":1058},{"class":202,"style":203},[1059],{"type":141,"tag":200,"props":1060,"children":1062},{"style":1061},"color:#008000;--shiki-dark:#6A9955",[1063],{"type":146,"value":1064},"  \u002F\u002F subject === 'Welcome aboard, Ada'",{"type":146,"value":246},{"type":141,"tag":200,"props":1067,"children":1068},{"class":202,"style":203},[1069,1074,1078,1082,1086,1090,1094,1098],{"type":141,"tag":200,"props":1070,"children":1071},{"style":252},[1072],{"type":146,"value":1073},"  return",{"type":141,"tag":200,"props":1075,"children":1076},{"style":230},[1077],{"type":146,"value":260},{"type":141,"tag":200,"props":1079,"children":1080},{"style":263},[1081],{"type":146,"value":959},{"type":141,"tag":200,"props":1083,"children":1084},{"style":230},[1085],{"type":146,"value":964},{"type":141,"tag":200,"props":1087,"children":1088},{"style":263},[1089],{"type":146,"value":146},{"type":141,"tag":200,"props":1091,"children":1092},{"style":230},[1093],{"type":146,"value":964},{"type":141,"tag":200,"props":1095,"children":1096},{"style":263},[1097],{"type":146,"value":860},{"type":141,"tag":200,"props":1099,"children":1100},{"style":230},[1101],{"type":146,"value":758},{"type":146,"value":246},{"type":141,"tag":200,"props":1104,"children":1105},{"class":202,"style":203},[1106],{"type":141,"tag":200,"props":1107,"children":1108},{"style":230},[1109],{"type":146,"value":453},{"type":141,"tag":142,"props":1111,"children":1112},{},[1113,1117,1119,1124,1126,1131,1133,1139,1141,1145],{"type":141,"tag":149,"props":1114,"children":1115},{},[1116],{"type":146,"value":860},{"type":146,"value":1118}," is ",{"type":141,"tag":149,"props":1120,"children":1121},{},[1122],{"type":146,"value":1123},"string | undefined",{"type":146,"value":1125}," on ",{"type":141,"tag":149,"props":1127,"children":1128},{},[1129],{"type":146,"value":1130},"RenderedEmail",{"type":146,"value":1132}," — it is ",{"type":141,"tag":1134,"props":1135,"children":1136},"strong",{},[1137],{"type":146,"value":1138},"absent",{"type":146,"value":1140}," when the template does not call ",{"type":141,"tag":149,"props":1142,"children":1143},{},[1144],{"type":146,"value":153},{"type":146,"value":187},{"type":141,"tag":157,"props":1147,"children":1149},{"id":1148},"rules-and-edge-cases",[1150],{"type":146,"value":1151},"Rules and edge cases",{"type":141,"tag":1153,"props":1154,"children":1155},"ul",{},[1156,1179,1195,1212,1246],{"type":141,"tag":1157,"props":1158,"children":1159},"li",{},[1160,1165,1167,1171,1173,1178],{"type":141,"tag":1134,"props":1161,"children":1162},{},[1163],{"type":146,"value":1164},"Runs during render only.",{"type":146,"value":1166}," Calling ",{"type":141,"tag":149,"props":1168,"children":1169},{},[1170],{"type":146,"value":153},{"type":146,"value":1172}," outside an email render throws ",{"type":141,"tag":149,"props":1174,"children":1175},{},[1176],{"type":146,"value":1177},"DefineEmailOutsideRenderError",{"type":146,"value":187},{"type":141,"tag":1157,"props":1180,"children":1181},{},[1182,1187,1189,1194],{"type":141,"tag":1134,"props":1183,"children":1184},{},[1185],{"type":146,"value":1186},"One declaration per render.",{"type":146,"value":1188}," Calling it twice in one template render throws ",{"type":141,"tag":149,"props":1190,"children":1191},{},[1192],{"type":146,"value":1193},"DuplicateEmailDefinitionError",{"type":146,"value":187},{"type":141,"tag":1157,"props":1196,"children":1197},{},[1198,1203,1205,1210],{"type":141,"tag":1134,"props":1199,"children":1200},{},[1201],{"type":146,"value":1202},"Returns a string.",{"type":146,"value":1204}," A non-string subject fails the render with an ",{"type":141,"tag":149,"props":1206,"children":1207},{},[1208],{"type":146,"value":1209},"EmailRenderError",{"type":146,"value":1211}," whose cause explains the invalid return value.",{"type":141,"tag":1157,"props":1213,"children":1214},{},[1215,1225,1227,1232,1234,1238,1240,1244],{"type":141,"tag":1134,"props":1216,"children":1217},{},[1218,1220,1224],{"type":146,"value":1219},"Works before or after ",{"type":141,"tag":149,"props":1221,"children":1222},{},[1223],{"type":146,"value":986},{"type":146,"value":187},{"type":146,"value":1226}," The render context is propagated with ",{"type":141,"tag":149,"props":1228,"children":1229},{},[1230],{"type":146,"value":1231},"AsyncLocalStorage",{"type":146,"value":1233},", so declaring the subject after a top-level ",{"type":141,"tag":149,"props":1235,"children":1236},{},[1237],{"type":146,"value":986},{"type":146,"value":1239}," in ",{"type":141,"tag":149,"props":1241,"children":1242},{},[1243],{"type":146,"value":178},{"type":146,"value":1245}," (for example after fetching data) still resolves to the correct render.",{"type":141,"tag":1157,"props":1247,"children":1248},{},[1249,1254],{"type":141,"tag":1134,"props":1250,"children":1251},{},[1252],{"type":146,"value":1253},"Concurrent renders are isolated.",{"type":146,"value":1255}," Each render has its own context, so subjects never leak between simultaneous renders.",{"type":141,"tag":1257,"props":1258,"children":1261},"card",{"title":1259,"icon":1260},"You still pass it to your provider","lucide:info",[1262,1266,1268,1272,1273,1278,1279,1283,1285,1289],{"type":141,"tag":149,"props":1263,"children":1264},{},[1265],{"type":146,"value":860},{"type":146,"value":1267}," is a convenience for keeping subject phrasing beside the template. You still hand it to your provider SDK alongside ",{"type":141,"tag":149,"props":1269,"children":1270},{},[1271],{"type":146,"value":275},{"type":146,"value":964},{"type":141,"tag":149,"props":1274,"children":1275},{},[1276],{"type":146,"value":1277},"to",{"type":146,"value":964},{"type":141,"tag":149,"props":1280,"children":1281},{},[1282],{"type":146,"value":959},{"type":146,"value":1284},", and ",{"type":141,"tag":149,"props":1286,"children":1287},{},[1288],{"type":146,"value":146},{"type":146,"value":1290}," — Nuxt Email does not send mail or set headers.",{"title":1292,"searchDepth":1293,"depth":1293,"links":1294},"",4,[1295,1297,1298],{"id":159,"depth":1296,"text":162},2,{"id":872,"depth":1296,"text":875},{"id":1148,"depth":1296,"text":1151},"markdown","docs",{"source":1302,"path":1303,"stem":1304,"dir":1305,"extension":1306},"content","docs\u002F3.guides\u002F3.subject-lines.md","docs\u002F3.guides\u002F3.subject-lines","guides","md",{"requestedPath":82,"resolvedPath":82,"alternates":1308},[],{"requested":1310,"resolved":1311,"usedFallback":9},{},{"locale":8},{"previous":1313,"next":1314},{"title":74,"id":75,"canonicalKey":76,"locale":8,"draft":9,"path":77},{"title":84,"id":85,"canonicalKey":86,"locale":8,"draft":9,"path":87},{"left":1316,"top":1316,"width":1317,"height":1318,"rotate":1316,"vFlip":9,"hFlip":9,"body":1319},0,256,221,"\u003Cpath fill=\"#41b883\" d=\"M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0z\"\u002F>\u003Cpath fill=\"#41b883\" d=\"m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0z\"\u002F>\u003Cpath fill=\"#35495e\" d=\"M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0z\"\u002F>",{"left":1316,"top":1316,"width":1317,"height":1317,"rotate":1316,"vFlip":9,"hFlip":9,"body":1321},"\u003Cpath fill=\"#3178c6\" d=\"M20 0h216c11.046 0 20 8.954 20 20v216c0 11.046-8.954 20-20 20H20c-11.046 0-20-8.954-20-20V20C0 8.954 8.954 0 20 0\"\u002F>\u003Cpath fill=\"#fff\" d=\"M150.518 200.475v27.62q6.738 3.453 15.938 5.179T185.849 235q9.934 0 18.874-1.899t15.678-6.257q6.738-4.359 10.669-11.394q3.93-7.033 3.93-17.391q0-7.51-2.246-13.163a30.8 30.8 0 0 0-6.479-10.055q-4.232-4.402-10.149-7.898t-13.347-6.602q-5.442-2.245-9.761-4.359t-7.342-4.316q-3.024-2.2-4.665-4.661t-1.641-5.567q0-2.848 1.468-5.135q1.469-2.288 4.147-3.927t6.565-2.547q3.887-.906 8.638-.906q3.456 0 7.299.518q3.844.517 7.732 1.597a54 54 0 0 1 7.558 2.719a41.7 41.7 0 0 1 6.781 3.797v-25.807q-6.306-2.417-13.778-3.582T198.633 107q-9.847 0-18.658 2.115q-8.811 2.114-15.506 6.602q-6.694 4.49-10.582 11.437Q150 134.102 150 143.769q0 12.342 7.127 21.06t21.638 14.759a292 292 0 0 1 10.625 4.575q4.924 2.244 8.509 4.66t5.658 5.265t2.073 6.474a9.9 9.9 0 0 1-1.296 4.963q-1.295 2.287-3.93 3.97t-6.565 2.632t-9.2.95q-8.983 0-17.794-3.151t-16.327-9.451m-46.036-68.733H140V109H41v22.742h35.345V233h28.137z\"\u002F>",{"left":1316,"top":1316,"width":1323,"height":1323,"rotate":1316,"vFlip":9,"hFlip":9,"body":1324},24,"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"\u002F>\u003Cpath d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"\u002F>\u003C\u002Fg>",1786647278886]