inits Loot adding functionnality
This commit is contained in:
28
lootalot_front/src/components/Loot.vue
Normal file
28
lootalot_front/src/components/Loot.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<p class="card-header-title">
|
||||
Nouveau loot</p>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<ItemInput></ItemInput>
|
||||
<p v-for="(item, idx) in looted" :key="idx"
|
||||
class="has-text-left is-size-5">
|
||||
{{ item }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import ItemInput from './ItemInput.vue'
|
||||
|
||||
export default {
|
||||
components: { ItemInput },
|
||||
data () { return {
|
||||
looted: [],
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user