title: Component v-if statement with properties in Nuxt / Vue (Typescript)
body: <p>I have a component that I'd like to conditionally render based on a property:</p>
  <pre><code>&lt;template&gt;
  &lt;div class=&quot;logoContainer&quot; v-if=&quot;showLogo&quot;&gt;
    LOGO
  &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;script lang=&quot;ts&quot;&gt;
  import Vue from 'vue'
  import { Prop } from 'vue-property-decorator'
  
  export default class extends Vue {
    @Prop({default: true})
    showLogo: boolean
  }
  &lt;/script&gt;
  </code></pre>
  <p>This generates the error: <code>Property or method &quot;showLogo&quot; is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.</code></p>
  <p>What's the easiest way to set &amp; reference my <code>showLogo</code> property?</p>