Created
August 9, 2019 03:24
-
-
Save LuisHCK/e31fa562fb819d920ce35b72e0d8867f to your computer and use it in GitHub Desktop.
Revisions
-
LuisHCK created this gist
Aug 9, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,36 @@ # Componente1.vue (Padre) ``` <template> </template> <script> export default { data() { return { foo: "hello" } } } </script> ``` # Componente2.vue (Hijo) ``` <template> {{ value }} </template> <script> export default { name: "componente2", props: { value: { } } } </script> ```