Since npm is a part of Github now, you can publish an npm package with Github. Let’s learn how to do that in this blog. Step 1: Create a Personal Access Token Create a personal access token from Github settings Step: 2 Create a .npmrc file Create a new ~/.npmrc file if one doesn’t exist, and add
Add custom field to WordPress REST API
Posted onSometimes we may need to add custom fields to existing core WordPress REST API, which we may also need in the wp.data module for Custom Gutenberg Block development.In this blog we will learn about how to do just that. Add custom field to ‘user’ endpoint. We will use register_rest_field function and hook it to rest_api_init
Integrating Disqus in your Next.js React Application
Posted onDisqus is a networked community platform used by hundreds of thousands of sites all over the web. With Disqus, your website gains a feature-rich comment system complete with social network integration, advanced administration and moderation options, and other extensive community functions In this blog we will learn how to add discuss to your Next.js React application. Create
Next.js Tailwindcss with SASS example
Posted onTailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override. In this blog we will learn about how we can setup tailwind and sass with next.js. Let’s install Next js, react
Setup Tailwind CSS in a WordPress plugin or theme
Posted onIn this blog we will discuss how we will setup Tailwind css in a WordPress plugin or theme. Tailwind CSS is a highly customizable, low-level CSS framework that gives you all of the building blocks you need to build bespoke designs without any annoying opinionated styles you have to fight to override. If you would