title: Vue error: TypeError: Cannot read property 'title' of undefined at Proxy.render
body: <p>I found a few questions like mine, but none were clear enough to solve my specific problem. </p>
  
  <p>I have this code in my Test.Vue component that is imported into my App.vue file.</p>
  
  <p>P.S. Everything was working perfectly fine yesterday when I was working on this, I wasn't getting any error at all doing this. I just closed my laptop and today opened it up again to work on it and started getting this error when I refreshed my page. </p>
  
  <pre><code>&lt;template&gt;
      &lt;div class = "test"&gt;
          &lt;input type="text" v-model="title"&gt; &lt;br/&gt;
          &lt;h1&gt;{{title}}&lt;/h1&gt;
          &lt;p&gt;{{user.lastName}}&lt;/p&gt;
          &lt;p v-if="showName"&gt;{{user.firstName}}&lt;/p&gt;
          &lt;p v-else&gt;Nada&lt;/p&gt;
  
          &lt;!-- &lt;ul&gt;
              &lt;li v-for="item in items&gt;{{item.title}}&lt;/li&gt;
          &lt;/ul&gt; --&gt;
  
      &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script&gt;
  export default {
      name: 'test',
      data() {
          return{
              title: 'Hello World',
              user: {
                  firstName:'John',
                  lastName:'Doe'
              },
              showName: true,
  
              // items: [
              //  {title: 'Item One'},
              //  {title: 'Item Two'},
              //  {title: 'Item Three'}
              // ]
          }
      }
  }
  &lt;/script&gt;
  &lt;style scoped&gt; 
  &lt;/style&gt;
  </code></pre>
  
  <p>With what I have in my code -- having commented the lines that create  in my <code>&lt;template&gt;</code> and the items:[] in , everything </p>
  
  <blockquote>
    <p>vue.esm.js?efeb:1741 TypeError: Cannot read property 'title' of
    undefined
        at Proxy.render (eval at ./node_modules/vue-loader/lib/template-compiler/index.js?{"id":"data-v-dc87507c","hasScoped":true,"transformToRequire":{"video":["src","poster"],"source":"src","img":"src","image":"xlink:href"},"buble":{"transforms":{}}}!./node_modules/vue-loader/lib/selector.js?type=template&amp;index=0!./src/components/Test.vue
    (0.b8f1eab6988182beecb6.hot-update.js:7), :37:59)
        at VueComponent.Vue._render (vue.esm.js?efeb:4544)
        at VueComponent.updateComponent (vue.esm.js?efeb:2788)
        at Watcher.get (vue.esm.js?efeb:3142)
        at Watcher.run (vue.esm.js?efeb:3219)
        at flushSchedulerQueue (vue.esm.js?efeb:2981)
        at Array.eval (vue.esm.js?efeb:1837)
        at flushCallbacks (vue.esm.js?efeb:1758)</p>
  </blockquote>