How to dynamically add attribute values to pug templates in veu? why didn't I render this?

this is my pug template

<template lang="pug">
  div
    form(
      id="form"
      method="POST"
      action=""
    )
      div(class="form-data")
        input(type="text" name="data" id="data" :value="data")
</template>

this is my vue data

 data () {
          return {
            data: "1111"
          }
        }

but why is there no value rendered

clipboard.png

js


clipboard.png
Why is this happening? thank you all for giving me some help.

Mar.18,2021

created DOM has not been rendered yet. You can dynamically add

using js in mounted .

the first one is not rendered, and I can't see the reason

Menu