Browse Source

home.js zurückgestellt

pull/1/head
Edwina Barbalan 5 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

@@ -1,5 +1,5 @@
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">
<h6 class="msg-head">
<b>{{ subject }}</b>
@@ -10,7 +10,7 @@ const ('Home', {
<div class="om-user-line">
<i class="material-icons">account_circle</i>
Erstellt von {{ user }}
</div></div>`,
</div></div></div>`,
props: ['subject', 'message', 'tag', 'user']
})


Loading…
Cancel
Save