HB's Thoughts

If the Universe Is the Answer, What Is the Question?!

Articles

8/7/2025

HB's Thoughts Link to the article

A simple blog system built with Nuxt 4, focused on articles about Vue, Nuxt, TailwindCSS, TypeScript, and front-end development.


11/28/2024

Simple Vue plugin for geo location Link to the article

When I write a plugin, I think of it as a standalone piece of code that has its own logic and is independent of where it will be used. This is not entirely true, of course, but when designing a plugin, I always start from this idea. After all, every system has its own logic and architecture that must be followed - especially for outgoing data.


Competence: Geek
11/26/2024

Vue Router & Main file Link to the article

When starting a new Vue project, I use the Quick Start section of the Vue website. Then, I make a few small changes before adding the project to the Source Control bank.


Competence: Pro
8/26/2024

Electron, TypeScript & Parcel Link to the article

Documentation for Electron is entirely in JavaScript, but that doesn't stop you from using TypeScript to generate that JavaScript. A few simple rules must be followed, mainly in the file loading paths. I have also prepared a small addition for the front-end part. Instead of the standard Electron HTML page, I will make a small compilation with Parcel.


7/3/2024

Log info with Web Workers from Vue 3 to the server Link to the article

Web Workers are small, powerful scripts that run in the browser's background. And because they don't interfere with the rendering of your application, you can load them with various tasks to perform.


Competence: Geek
5/14/2024

Removing the trailing slash from the URLs in Nuxt Link to the article

Every page on your website should have unique content. If you have a second page with the same content, the weight of the information for the search engines is divided between the two, and this greatly reduces their chances of appearing earlier in the search results.


Competence: Pro
Tags: NuxtSEO
4/30/2024

Dynamic manifest.json Link to the article

If you want the users of your web application to "install" it on their devices, it is enough to fill in the manifest.json file. It is already widely supported by the browsers and the operating systems and it is very easy to do it, so you should not skip it.


Competence: Elementary
3/27/2024

Nitro, i18n and Dev Proxy Link to the article

When you use Nuxt, it is normal to use Nitro as well, but sometimes this does not fit into the scenario you have been prepared for. The API requests are handled by another back-end server and in order to develop the application locally, a proxy must be set up.


Competence: Pro
Tags: NuxtNitro
3/18/2024

Vue emits with parameters Link to the article

Passing events in Vue from a component back to the one that calls it is done with emits. The emits can also be done with Pinia or another library for state management, but this will be for another article.


Competence: Elementary
Tags: Vue
2/28/2024

Parcel & Robots Link to the article

There are different ways to tell ParcelJS which files are static and should not go through the build transformation, but if there are only a few, you can activate the transformers plugin and then include them directly in the build script in the package.json file.


Competence: Geek
Tags: Parcel

🖖Live long and prosper