[Vue] Adding component dynamically
https://vuejs.org/v2/guide/components.html#Dynamic-Components
parent.vue
<template> <component v-for="(item, index) in items" @appendAmount="appendAmount(index, $event)" v-bind:amount="device.amount" v-bind:is="'Selector'" :key="device.deviceId" ></component> </template> <script> export default Vue.extend({ methods }) </script>
https://codesandbox.io/s/dynamic-components-762se
[Vue] How to use HOC in an event
[Vue] .sync modifier
[Vue] $data in IntelliJ IDEA
this.$data.form
this.form
[Vue] Getting parent and chile component's parameter in the same function
$emit('...', $event) @... = append(index, $event)
[Vue] @click.prevent
[Protocol Buffers] Cyclic import
[GORM] Using gorm.Model.ID for replacing on Association Replace
Top comments (0)