SHARE
TWEET

Untitled

a guest Oct 12th, 2017 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ---> <Apt2> at src/App.vue
  3.        <Root>
  4. warn @ vue.esm.js?efeb:476
  5. vue.esm.js?efeb:476 [Vue warn]: Property or method "seen" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
  6.  
  7. found in
  8.  
  9. ---> <Apt2> at src/App.vue
  10.        <Root>
  11.  
  12.  
  13. App.vue------------------------------------------------------------------------
  14.  
  15. <template>
  16.  <div id="app-2">
  17.   <span v-if="seen">Now you see me</span>
  18. </div>
  19. </template>
  20.  
  21.  
  22. <script>
  23. export default {
  24.   name: 'apt-2',
  25.   data () {
  26.      seen: true
  27.   }
  28. }
  29. </script>
RAW Paste Data
Top