Vue:解决[Vue warn]: Failed to resolve directive: modle (found in <Anonymous>)

vue.js:634 [Vue warn]: Failed to resolve directive: modle

(found in <Anonymous>)
warn @ vue.js:634

点击vue.js:634看看源码

if (config.warnHandler) {
        config.warnHandler.call(null, msg, vm, trace);
      } else if (hasConsole && (!config.silent)) {
        console.error(("[Vue warn]: " + msg + trace)); #634行的代码
      }

原因是 我把model 写成了 modle  这类错误一般是单词写错了

注意单词的拼写:正确的指令是:v-model