Software Development

How to stop PRE tags from getting scrollbars

Problem: You are using <pre> tags but you’re getting scrollbars that you don’t want. Solution: <pre style=”white-space:pre-wrap”> Reference: https://stackoverflow.com/questions/13676587/html-pre-tag-values-get-horizontal-scroll-bars-how-to-format-it

Read More

How to install yarn

These instructions were obtained by installing the latest node which outputs the actual yarn instructions right at the end: ## To install the Yarn package

Read More

cross-env not found

Background Whilst trying to run npm run dev for a Laravel project, you get this: user@hostname ~/Code/project $ npm run dev > @ dev /home/user/Code/nova

Read More

What is the yarn equivalent of npm install?

Cheat Sheet — What you need to know <span class="markup–strong markup–li-strong" style="font-weight: bold;">npm install</span> === <span class="markup–strong markup–li-strong" style="font-weight: bold;">yarn</span> Install is the default behavior. <span class="markup–strong markup–li-strong" style="font-weight: bold;">npm

Read More
Scroll to Top