Skip to content

💎 Release new version 1.1.0

Latest
Compare
Choose a tag to compare
@apertureless apertureless released this 05 Apr 16:48
· 9 commits to master since this release

3NtY188QaxDdC

Biggest change now is, that the surrounding divs which were produced by the <hideAt/> and <showAt/> components are removed now. This leads to cleaner output. If you pass your components or markup into the slot.

🚨 However! This has a downside! You can now only pass 1 root tag into the components. Which means:

✅Valid

<hide-at>
  <h1>Hello World</h1>
</hide-at>
<hide-at>
  <section>
	<h1>Welcome!</h1>
    <p>Have fun with vue-breakpoints!</p>
  </section>
</hide-at>

🚫Invalid

<hide-at>
  <h1>Hello World</h1>
  <p>This is invalid because of multiple root nodes :c</p>
</hide-at>

Features

  • debug: Add proper render condition and console warnings (3afe976)
  • render: Remove surrounding divs in render function (9395fab)