vuejs
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Components 68<br />
1 <br />
If you have a lot of properties and your elements are becoming dirty you can pass an object and<br />
display its properties.<br />
We will refactor our example one more time to wrap it up.<br />
1 <br />
2 <br />
3 <br />
5 Awesome Stories<br />
6 <br />
7 <br />
8 <br />
9 <br />
11 <br />
12 <br />
15 <br />
16 <br />
19 <br />
20 <br />
21 {{ story.writer }} said "{{ story.plot }}"<br />
22 <br />
23 <br />
24 <br />
25 <br />
26 <br />
27 Vue.component('story', {<br />
28 props: ['story'],<br />
29 template: "#story-template"<br />
30 });<br />
31<br />
32 new Vue({<br />
33 el: '.container'<br />
34 })<br />
35 <br />
36