How to get better at interviewing for tech jobs (or any job)Interviewing is shitty. But it’s a necessary evil. It’s the gateway to every job. Even if you have a friend at the company, even if you…Sep 15, 2023Sep 15, 2023
How to get the estimated read time of your blog post with JavascriptMedium does this for you automatically. But what if you have your own blog that doesn’t? With a little Javascript it’s pretty easy.May 8, 2023May 8, 2023
How to use images with Vite and VueUsing local and dynamic images in Vite is more confusing than you’d think (or at least more confusing than I thought). If you have a url…Apr 12, 20233Apr 12, 20233
Dynamic Routing with Route Params in Vue 3The basics of dynamic routing in Vue are relatively straightforward, but the documentation, available examples, and popular tutorials are a…Apr 3, 20232Apr 3, 20232
How to limit the length of text (strings) in javascript and VuejsIn building a travel website project recently I needed to limit the length of a string as part of an API GET request. I was using the…Mar 27, 2023Mar 27, 2023
How to fix ENOENT, EACCESS and other errors when running npm installI was following one of my own tutorials to set up a new Vue project with Vite but I kept getting errors when I ran npm install. I had no…Mar 8, 2023Mar 8, 2023
How to get the first item in an array in Vue.jsIt’s always useful being able to single out the first item in an array. Be it for styling, conditional rendering, or more, there are a few…Feb 18, 2023Feb 18, 2023
How to use environmental variables (.env) in Vue.js and Vite.Lately development best practice seems to be putting your API endpoints, login credentials, secrets, etc., into environmental variables…Jan 27, 20234Jan 27, 20234
How to use Transitions in Vue 3The native transition component in Vue has undergone some changes with the move to Vue 3. I went to use it the other day and found there…Jan 23, 2023Jan 23, 2023
How to deploy a Vue application to Cloudflare Pages (and fix build errors with Vite).I’ve been using Netlify for the past couple years for app and static site deployment and it’s been great. But I just read a great post…Dec 1, 2022Dec 1, 2022