HB's Thoughts

I try to think really hard.

Competence - Elementary

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.


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/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/15/2024

Google Fonts in Nuxt with TailwindCSS Link to the article

The Google Fonts service is very easy to use. There is a large selection of fonts and an easy way to filter them according to your needs. The Nuxt ecosystem has a very good Google Fonts module you can easily integrate into your app, but I will show you a slightly different approach.