Custom delimiters not working in 2.0.0-rc.4
See original GitHub issueVue.js version
2.0.0-rc.4
Reproduction Link
Fiddle with version 2.0.0-rc.4 demonstrating the bug: https://jsfiddle.net/pth128xd/ Fiddle with version 1.0 and otherwise identical code: https://jsfiddle.net/yqyeL0hk/
Steps to reproduce
- Set
Vue.config.delimiters
to some custom setting, such as['${', '}']
- Attempt to use custom delimiters in templates, e.g.
${ title }
What is Expected?
Interpolation using these custom delimiters is done properly.
What is actually happening?
The custom delimiters are completely ignored.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:17 (4 by maintainers)
Top Results From Across the Web
Why are the custom delimiters in vuejs not working? [duplicate]
I'm using vuejs with Jekyll, and want to use custom delimiters for vue, because jekyll use the same one. This i for a...
Read more >LazySimpleSerDe for CSV, TSV, and custom-delimited files
This is the SerDe for data in CSV, TSV, and custom-delimited formats that Athena uses by ... LazySimpleSerDe does not support multi-character delimiters....
Read more >CSV Files - Spark 3.3.1 Documentation
Property Name Default Scope
sep, read/write
encoding UTF‑8 read/write
quote " read/write
Read more >IO tools (text, CSV, HDF5, …) - Pandas - PyData |
If provided, this parameter will override values (default or not) for the following parameters: delimiter , doublequote , escapechar , skipinitialspace , ...
Read more >Loading CSV data from Cloud Storage | BigQuery
For Field delimiter, choose the character that separates the cells in your CSV file: Comma, Tab, Pipe, or Custom. If you choose Custom,...
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
Oh, you may be right, sorry. Need to check.
But if I remember correctly, changing delemiters may only available in the standalone build and with in-DOM templates. The reasoning was that templatws in
.vue
files are precompiled so they can’t conflict with any other servet-side template system (which was why custom delimiters existed in the first place)Sorry guys, I’ve seen many answers, but there is no actual answer. Can you just show one simple example how to use delimiters in Components? (I mean in *.vue files)