Skip to content

Instantly share code, notes, and snippets.

View aghwotu's full-sized avatar
🏠
Working from home

Ovuoke Aghwotu aghwotu

🏠
Working from home
View GitHub Profile
@aghwotu
aghwotu / pass-slots.md
Created September 5, 2021 16:09 — forked from loilo/pass-slots.md
Vue: Pass Slots through from Parent to Child Components

Vue: Pass Slots through from Parent to Child Components

The Situation

  • We've got some components A, B and C which provide different slots.
    const A = {
      template: `<div><slot name="a">Default A Content</slot></div>`
    }

const B = {

Conventinal Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default