Advertisement
NubeColectiva

Enviar un Texto a Template en Vue 3

Sep 20th, 2023 (edited)
1,131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3.   export default {
  4.  
  5.     data() {
  6.  
  7.       return {
  8.         msg: "Nube Colectiva",
  9.         mivariablebonita: "Crack de la Programación"
  10.       }
  11.  
  12.     }
  13.  
  14.   }
  15.  
  16. </script>
  17.  
  18. <template>
  19.  
  20.   <div>
  21.     {{ msg }}
  22.     <br>
  23.     {{ mivariablebonita }}
  24.  
  25.   </div>  
  26.  
  27. </template>
  28.  
  29. <style scoped>
  30.   /* */
  31. </style>
  32.  
Tags: vue
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement