JSFiddle - React, Tailwind, and code Playground

HTML

<script src="https://unpkg.com/vue"></script>
<div id="app">
  <span>{{ greeting | repeat(3) }}</span>
</div>

JavaScript

Vue.filter('repeat', function (string, times) {
	return string.repeat(times);
});

new Vue({
	el: '#app',
    
    data: {
    	greeting: 'Hello'
    }
});