Only show slot if it has content with Vue.js
In this article, we will see how to only show slots if it has content and hides the empty slot in Vue. In Vue, the slot allows us to insert…
Read moreHow to use setTimeout with Vue | Equivalent of setTimeout() function.
In this short post, we will see how to use the setTimeout() function in Vue Js. The setTimeout() function method executes a function or a block of code after a…
Read moreHow to do text highlight in markdown
In this post, we will see how we can highlight text in markdown. In markdown, there is no native way to highlight text, however, markdown allows us to use HTML…
Read moreHow to underline in markdown
In this post, we will see how we can underline a text in markdown. Markdown does not have any syntax to underline, however, we can use the <u> HTML tag…
Read moreHow to write comments in a Markdown File
In this post, we will see how to write comments in a markdown file. Comments are helpful to explain certain parts of code or text in a document. And if…
Read moreFix – Cannot use import statement outside module Error in Node
In this article, we will resolve the “Uncaught SyntaxError: Cannot use import statement outside a module” error in JavaScript. The Error “Uncaught SyntaxError: Cannot use import statement outside a module”…
Read moreHow to remove an item from array in Vue component
In this post, we will see how we can remove items from an array in Vue JS component. To remove an item from an array we can use the splice()…
Read moreHow to change image size in markdown in GitHub
In this post, we will see how we can resize images in our markdown document or for Github readme.md profile. Markdown is a free open-source markup language that let us…
Read moreHow to open markdown link in new tab
In this short post, find out how to open a markdown link in a new tab. When using markdown to create your blog or any web page using a markdown…
Read more