Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div <!-- сюда нужно подставить атрибут test с переданным значением -->>
- <!-- вывод значения свойства test -->
- {{ test }}
- </div>
- </template>
- <script>
- export default {
- props: {
- type: {
- type: String,
- default: 0
- }
- }
- }
- </script>
- <v-my-component test="ds"></v-my-component>
- <template>
- <div <!-- сюда установится атрибут test с переданным значением -->>
- </div>
- </template>
- <script>
- export default {}
- </script>
- <div test="ds">
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement