Reputation: 2236
"Mustache"
syntax allows defining data like this:
<template>
<Window>
<template v-slot:title >
{{title}}
</template>
</Window>
</template>
but compilation with lang='pug'
fails:
<template lang='pug'>
<Window>
<template v-slot:title >
{{title}}
</template>
</Window>
</template>
With this error:
Module build fails: unexpected text "{{" ...
Other templates without mustache
syntax usage build fine with lang='pug'
. What's the Pug's alternative to mustache
syntax?
Upvotes: 0
Views: 864