How often should tokens be refreshed for best practice?The frequency with which you refresh tokens depends on the type of token you’re using (access token vs. refresh token) and your…17h ago17h ago
How to Load Third-Party Scripts in Nuxt 3Most of the time, there are two ways for loading third party scripts as follows:Oct 3, 2024Oct 3, 2024
Refresh browser problem with Vue.jsThis issue is likely occurring because the Vue Router is not properly configured to handle browser refreshes on routes other than the root…Oct 3, 2024Oct 3, 2024
How to Set the Default Node Version Using Nvm on MacOSTo set Node.js version 18 as the default version on macOS, you can use a Node.js version manager like nvm (Node Version Manager). Here's…Oct 3, 2024Oct 3, 2024
Deploying Static Web App to Static Website Hosting using GitHub ActionsTo deploy your static web app to static website hosting using GitHub Actions, you need to create a GitHub Actions workflow that automates…Oct 2, 2024Oct 2, 2024
Integrating Nuxt 3 with Google reCAPTCHA v2To create a plugin for Google reCAPTCHA v2 in Nuxt 3, follow these steps:Oct 2, 2024Oct 2, 2024
How to upload (SCP) files to server in a Bash scriptTo create a script copies files from a local machine to a remote server, you can use the scp command in a Bash script. Here's how you can…Oct 1, 2024Oct 1, 2024
How to upload (FTP) files to server in a Bash scriptTo create a script copies files from a local machine to a remote FTP server, you can use the ftp command in a Bash script. Here's how you…Oct 1, 2024Oct 1, 2024
How to order and structure the features in a Composition API componentIn the Composition API of Vue 3, features such as refs, computed, watch, methods and lifecycle hooks can be organized in a logical and…Sep 28, 2024Sep 28, 2024
[Vue.js] สร้าง Custom Input Componentเมื่อเราต้องการสร้าง Input component ขึ้นมาใช้งานเอง แบบที่เราต้องการ เพื่อให้สามารถนำไปใช้งานได้ง่ายขึ้น ซึ่งบทความนี้จะมาแนะนำการสร้าง…Oct 6, 2021Oct 6, 2021