SOURCE

console 命令行工具 X clear

                    
>
console
new Vue({
    el: "#app",
    data() {
      return {
        count: 1,
      }
    },
    methods: {
      change() {
        this.count++
      },
    },
    computed: {
      sum() {
        return this.count + 1
      },
    },
  })
<div id="app">
  <p>{{sum}}</p>
  <button @click="change">+1</button>
</div>

本项目引用的自定义外部资源