Skip to content

Vue not working with reactivity #790

Closed
@degustadev

Description

@degustadev

Hi!

I tried adding the following:

<div id="example-1">
  <button v-on:click="counter += 1">Add 1</button>
  <p>The button above has been clicked {{ counter }} times.</p>
</div>
new Vue({
  el: '#example-1',
  data: {
    counter: 0
  }
})

I added <script src="//unpkg.com/vue/dist/vue.min.js"></script> to index.html and executeScript: true.

But it doesn't work, documentation says Docsify supports Vue tho.

Metadata

Metadata

Assignees

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