Import stylus mixins and variables in NuxtJS 3
To include mixins and stylus variables in nuxtjs 3, you need to use path in nuxt.config.ts , for an example, look at this nuxtjs 3 config example:
Easy way to crossbrowser copy to clipboard in jаvascript
Input number html safari works
Safari is not udnestand input type number, but its easy fix
Disable Vue Locale i18n warning console log
Easy to disable cringe warning from Vue i18n module.
Convert Object to Array with key name JS
Easy convert object to array with name: objectkey in jаvascript
Fully disable autofill and autocomplete for input html 2021
In 2021 autocomplete='off|String' is not working anymore. If u want to fully disable autocomplete for html inputs without jаvascript, use autocomplete="new-password"
How to use Stylus with mixins with NuxtJS
Easy manual how to setup NuxtJS config for using stylus with mixins and variables settings imports with nuxtJS.
Get first of closest() element.
Closest function by default getting top of elements with selector, but sometimes we need to get first element of closest, not last.
TypeScript Lesson #1 - Installing and using
What is TypeScript, and why u need it? TypeScript is a jаvascript plugin what extends default typization. Thats can helps, when u have big team or big project. Because crooked programmers will be able to make fewer mistakes.
Easy lazzy loading with default tag and polyfill
Easy lazy loading images with attribute loading="lazy". And polyfill for Safari or IE.
How to disable Download and PictureInPicture html video
To disable picture-in-picture for the video tag, write the property in the tag disablePictureInPicture. To disable download button write the property controlsList="nodownload"...
ES6 Lesson #12 - Destructive object assignment
In the last lesson, we looked at how to assign arrays destructively, in this I will tell you how to assign objects destructively.
ES6 Lesson #12 - Destructive array assignment
Now in ES6 there is the ability to quickly assign variable values to arrays.
ES6 Lesson #11 - Arrow Functions
Nevertheless, jаvascript remains a functional language, in this tutorial we will look innovations in es6 functions. Namely arrow functions
ES6 Lesson #10 - Function expression
Classes in es6 are functions, so we can declare them in several ways.
Google Maps Vue.js example
A simple code example on how to use google map in vue.js or nuxt.
Show all tags