materio-d9/web/themes/custom/materiotheme/vuejs/components/Content/Article.vue

24 lines
436 B
Vue

<template>
<article class="card article">
<header>
<h1 v-html="item.title"></h1>
<h4 class="body" v-html="item.body"></h4>
</header>
<section class="images">
<figure v-html="item.field_visuel"></figure>
</section>
</article>
</template>
<script>
import { JSONAPI } from 'vuejs/api/json-axios'
export default {
name: "Article",
props: ['item']
}
</script>
<style lang="scss" scoped>
</style>