0 day streak
javascript / beginner
Snippet

Raw Mustache Tags with v-pre

The v-pre directive tells Vue to skip compilation for this element and all its children. This is useful for displaying raw mustache tags.

snippet.js
javascript
1
2
3
<div v-pre>
{{ this will not be compiled }}
</div>
vue
Breakdown
1
v-pre
Skips the template compilation process for this specific block.