I have implemented 2 Vue components that split the page into two sections: left side and right side. These components are utilized on every page with the following structure:
<template>
<div class="page-body">
<left-side>
<p class="text" >{{ $t('about') }}</p>
</left-side>
<right-side>
<p class="slogen bottom">{{ $t('slogen') }}</p>
</right-side>
</div>
</template>
However, there is a scenario where these two components need to switch places in order to display the right-side component before the left-side component when using responsive mobile design. What would be the best approach to achieve this functionality? My Vue version is 2.3.3.