Dash "-" in key
See original GitHub issueHi
I have a question or a feature request. Why isn’t a dash (-
) a part of “indent” instead of “else” in path parsing?
Example:
{
a: {
b: 1,
"b-c": 2 // <--
}
}
I am migrating a SPA app to Vue and there internationalization keys use dashes.
I could make a PR for that if there is no reason why dash wouldn’t be a part of a key name.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
Top Results From Across the Web
How to type an em dash on a PC or Mac - Zapier
On Windows it's...less simple: you need to use an alt code to get an em dash. If you have a numeric keyboard, hold...
Read more >What is a Hyphen? - Computer Hope
Alternatively known as a dash, subtract, negative, or minus sign, the hyphen ( - ) is a punctuation mark on the underscore key...
Read more >Hyphen, en-dash, em-dash | English Language Help Desk
The hyphen has its own key on the keyboard: ... The en-dash is a bit longer than the hyphen; its length is equal...
Read more >6 Ways to Create an Em Dash - Tech Tools for Writers
Another Microsoft Word shortcut, pressing CTRL + – (on the keypad) will type an endash. This is probably the quickest way to get...
Read more >Dash & the keyboard
Dash on a PC keyboard. You can create a dash on a PC by holding down the ALT key and typing either 0150...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I ran into the same issue while working on a project; PR submitted with solution suggested by @vellotis
released v4.4.1 https://github.com/kazupon/vue-i18n/releases/tag/v4.4.1