antfu-collective / vitesse

🏕 Opinionated Vite + Vue Starter Template

Home Page:https://vitesse.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add email address use YAML cannot read properties?

leosin opened this issue · comments

Describe the bug/issue

When using i18n, an error is reported if an email symbol is added to the yaml file.
Is this a problem with the i18n plugin?

mail: foo@bar.com

image

So for now I can only use # instead

You should escape it, check the vue-i18n docs, try first to enclose the email with single quotes