-1๐
document.querySelector('br').remove();
<div>
Lorem Ipsum dolor set amet
</div>
<br>
<div >
Lorem Ipsum dolor set amet
</div><br>
You can use the simple script to remove the unnecessary tags.
Limit them to use within the parent element to not affect the other areas.
- [Vuejs]-Vue.js this.$route.params is always empty
- [Vuejs]-How to list multiple components with VueJS?
Source:stackexchange.com