I'm working on a project using VueJS's h() functions and all the content I need to include needs to be inside one of these. I'm trying to add content to a div by appending additional h('divs') to it, but need a way to space them (and the text inside them) out.
I've tried using '\n' and '< / br>', both with and without quotes, to add new lines, but this doesn't work - with quotes it gets included as text, and without it says there's an unexpected '<'. I've also tried to add padding inside style tags, following the example in the documentation:
h('div', {style: { margin: 100, padding:100 } })
but this doesn't do anything. How can I space out the h() function divs and the text inside?
` ref: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br – Mark Schultheiss Feb 09 '23 at 23:24