loading...

[From May 7 to May 13] The things I knew and thought last week

yasunoritanaka profile image Yasunori Tanaka Updated on ・1 min read

[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

Posted on by:

yasunoritanaka profile

Yasunori Tanaka

@yasunoritanaka

I'm Yasunori Tanaka (田中 穏識). I'm a full-stack software engineer in Tokyo.

Discussion

pic
Editor guide