nhanfu / htmljs

HTML render engine and data binding (MVVM)
MIT License
282 stars 48 forks source link

Can not render Vue's {{ }} when it's alone #7

Closed IvanDreamer closed 6 years ago

IvanDreamer commented 7 years ago

I decided to use HAML in .vue files. And I noticed some oddness: Working code:

<template lang='haml'>
  #app
    %p
      R{{message}}
</template>

Not working code:

<template lang='haml'>
  #app
    %p
      {{message}}
</template>

If I put something before {{message}} it works, but without it does not.

Could someone help with that?