Browse Source

home.js zurückgestellt

pull/1/head
Edwina Barbalan 6 years ago
parent
commit
a2776c77a5
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      public/home.js

+ 3
- 3
public/home.js View File

const ('Home', {
template: ` <div id="message-list" v-for="(msg, index) in messages" :key="msg.id" :subject="msg.subject" :message="msg.message" :tag="msg.tag" :user="msg.user">
Vue.component('Home', {
template: `<div id="message-list">
<div class="om-card card"> <div class="om-card card">
<h6 class="msg-head"> <h6 class="msg-head">
<b>{{ subject }}</b> <b>{{ subject }}</b>
<div class="om-user-line"> <div class="om-user-line">
<i class="material-icons">account_circle</i> <i class="material-icons">account_circle</i>
Erstellt von {{ user }} Erstellt von {{ user }}
</div></div>`,
</div></div></div>`,
props: ['subject', 'message', 'tag', 'user'] props: ['subject', 'message', 'tag', 'user']
}) })



Loading…
Cancel
Save