[From May 7 to May 13] The things I knew and thought last week
Yasunori Tanaka
Posted on May 14, 2020
[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
💖 💪 🙅 🚩
Yasunori Tanaka
Posted on May 14, 2020
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.