JSFiddle - React, Tailwind, and code Playground

HTML

<div id="root">
		<cities></cities>
	</div>

CSS

body {
		font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	}
	.box {
		margin: 48px auto;
		max-width: 1024px;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.box h1 {
		font-size: 1.1rem;
		color: #41f;
	}
	.box > div {
		padding: 24px;
		margin: 12px;
		width: 20%;
		min-height: 100px;
		border-radius: 2px;
		font-size: 1.15rem;
		line-height: 1;
	}

	.box > div:nth-child(1)
	{background-color: #ffb3ba;}
	.box > div:nth-child(2)
	{background-color: #ffdfba;}
	.box > div:nth-child(3)
	{background-color: #ffffba;}
	.box > div:nth-child(4)
	{background-color: #baffc9;}
	.box > div:nth-child(5)
	{background-color: #bae1ff;}

JavaScript

let EventBus = new Vue();
Vue.component('cities', {

	name: 'Listings',
	props: ['city','tour'],
	
	template: `
	<div>
	<div class='city-list box'>
	<city v-for='city in cities' :id='city.id' :key='city.id' :city='city' :tour='tour' @click.native='select(city)'></city>
	</div>
	<div class='tour-list box'>
	<tour v-for='tour in selectedTours' :id='tour.id' :city="selectedCity" :key='tour.id' :tour='tour'></tour>
	</div>
	</div>
	`,

	data() {
		return {
			selectedCity: '',
			cities: [
			{id:1, name: 'Istanbul'},
			{id:2, name: 'Paris'},
			{id:3, name: 'Barça'},
			{id:4, name: 'Rome'},
			{id:5, name: 'Mars'}
			],

			tours: [
			{id:1, cid:1, name: 'Bosphorus'},
			{id:2, cid:2, name: 'Eiffel'},
			{id:3, cid:3, name: 'La Sagrada Familia'},
			{id:4, cid:4, name: 'Colosseum'},
			{id:5, cid:5, name: 'Mars Canyon'},
			{id:6, cid:1, name: 'Sultanahmet'},
			{id:7, cid:2, name: 'Champs-Élysées'},
			{id:8, cid:3, name: 'Casa Mila'},
			{id:9, cid:4, name: 'Trevi Fountain'},
			{id:10, cid:5, name: 'Mars Desert'},
			]
		};
	},
  computed:{
      selectedTours(){
          return this.tours.filter(tour=>tour.cid == this.selectedCity.id)
      }
  },
	methods: {
		select(city) {
			this.selectedCity = city;
		},
	},

	components: {

		'city': {
			name: 'City',
			props: ['city'],
			template: `
			<div :id="[city.name.toLowerCase()]" :class="[city.name.toLowerCase()]">
			<h1>{{ city.name }}</h1>
			</div>`
		},

		'tour': {
			name: 'Tour',
			props: ['city', 'tour'],
			template: `
			<div :class="['tour-' + tour.id]" :id="[city.name.toLowerCase() + '-tours']" :refs="city.id" :data-id="city.id">
			{{ tour.name }}
			</div>
			`,
		},
	},

});

new Vue({
	el: '#root'
});