Skip to content

Vue code doesn't work #788

Description

@TonyXiang

msg doesn't change when input value changed

here is html

...
<script src="https://unpkg.com/vue@2.6.7/dist/vue.min.js"></script>
<script src="https://unpkg.com/docsify/lib/docsify.min.js"></script>
<script>
  window.$docsify = {
    executeScript: true,
  }
</script>
...

here is README.md

# docsify

<div id="tony">
    <div><input v-model="msg"></div>
    <div>msg = {{msg}}</div>
</div>

<script>
  new Vue({
    el: '#tony',
    data: {
      msg: '123'
    }
  })
</script>

Activity

  1. stale commented on Feb 4, 2020

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  2. added
    bugconfirmed as a bug
    and removed on Oct 7, 2020
  3. jhildenbiddle commented on Oct 8, 2020

    @jhildenbiddle
    Member

    @TonyXiang --

    Fixed in #1271. The example code you provided has been tested and works as-is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugconfirmed as a bugvuejsrelated to Vue.js

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions