- We've got some components
A
,B
andC
which provide different slots.const A = { template: `<div><slot name="a">Default A Content</slot></div>` }
const B = {
/* | |
This is a workaround for the `chrome.action.openPopup()` which is not (yet) available in the current Chrome APIs. | |
https://github.com/GoogleChrome/developer.chrome.com/issues/2602#issuecomment-1110937788 | |
https://developer.chrome.com/docs/extensions/reference/action/#method-openPopup | |
*/ | |
// use this in your `background.js` service worker | |
// here, we check if we are on the Google home page or not and then show the appropriate popup | |
function setPopupForTab(tab) { | |
if (tab.url.startsWith('https://www.google.com/')) { |
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