How to use Sass in HTML file?

Sass stands for Syntactically Awesome Style Sheets. Sass is a preprocessor scripting language that is interpreted or compiled into Cascading Style Sheets. Sass is a stylesheet language that’s compiled to CSS. It allows you to use variables, nested rules, mixins, functions, and more, all with a fully CSS-compatible syntax. Sass helps keep large stylesheets well-organized and makes it easyContinue reading “How to use Sass in HTML file?”

Module build failed: Error: Cannot find module ‘babel-core’

Below error could show up after installing dependencies to a project from Package.json. For babel specific dependency, we might have to install separate babel/core to resolve this issue. Reference – All Hail, Babel!

What is dotenv and how to use it?

Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env. Storing configuration in the environment separate from code is based on The Twelve-Factor App methodology. As early as possible in your application, require and configure dotenv. require(‘dotenv’).config() Create a .env file in the root directory of your project. Add environment-specific variables on new lines in theContinue reading “What is dotenv and how to use it?”