[Vuejs]-Vue.js component template rendering

2👍

The span element is an inline element, while the p tag is a block element.

You are trying to render a paragraph element inside a span tag, so it still takes up the entire block level, forcing the next span to not be inline.

👤Sammi

Leave a comment