I am displaying a series of articles from a RSS Feed on my Vue.js application.

For non-vue.js users:

<template></template> = html

<style></style> = css

I am trying to put the following articles in a container s(imilar to the tweets on the left) with a heading called ‘Latest Articles’. When I inclue a <h3> tag in the template section, the title is for each article. How do I overcome this? Am I better off using bootstrap? Thanks

Post image

Code:

<template>

<div class="Articles">

  <p>
      {{feed.title}}

 </p>
</div>
</template>

<script>
   export default {
      props: ["feed"]
   }
</script>


<style>

</style>



Source link

Write A Comment