"save": "git add . && git commit -m '๐น' && git push -u origin master"
# If we add something to .gitignore file like node_modules
# but we have already pushed the node_modules to GitHub
# then we have to use below git command then add - commit - push changes to GitHub
git rm -r --cached .
# then save, npm run save-alpha etc.
# update all major updates for all the packages
# remove node_modules & package-lock.json
# npm install -g npm-check-updates
npx rimraf ./**/node_modules
rm package-lock.json
ncu -u
npm cache clean --force
npm install
ncu -g // for global package updates
// defining explicit origin example
server.use(cors({ credentials: true, origin: 'http://localhost:3000' }))
<!-- fontawesome -->
<script src="https://kit.fontawesome.com/c9c5a1adc4.js" crossorigin="anonymous"></script>
<!-- tailwindcss -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tailwindcss/ui@latest/dist/tailwind-ui.min.css">
# init next.js app with tailwindcss
npm init next-app --example with-tailwindcss .