Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div>
- <Child v-bind:param="param"/>
- Parent : {{param}}
- </div>
- </template>
- <script>
- import Child from "@/components/atoms/child.vue";
- export default {
- name: "Parent",
- data() {
- return {
- param: "hoge"
- };
- },
- components: {
- Child
- }
- };
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement