JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://unpkg.com/vue"></script>
<div id="app">
<span>{{ unpaidInvoices | without(['#1003']) }}</span>
</div>
JavaScript
Vue.filter('without', function (values, exclude) {
return filter( function( el ) {
return !toRemove.includes( el );
});
});
new Vue({
el: '#app',
data: {
unpaidInvoices: ['#1001', '#1002', '#1003', '#1004']
}
});