K
K
KG2019-10-11 12:51:09
JavaScript
KG, 2019-10-11 12:51:09

How to ignore brackets, quotes, etc in text in Vue?

Good afternoon, how to make vue ignore brackets, quotes and other things in the text.
Example:

<div> Здесь какой-то текст, где есть <текст в скобках> и текст в "кавычках" и тд. </div>

Vue throws an error, trying by itself to bring everything in brackets, quotes, curly braces to some kind of vue elements. How to tell vue that all these characters are just text and should be output as text?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Belyaev, 2019-10-11
@pwnography

As in normal html, with the help of special. characters

C
coderisimo, 2019-10-11
@coderisimo

Actually, usually VUE doesn't try to convert everything to some vue elements .))). Make a sandbox - we'll see.
Here's an example for you:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question