All of adalberth's snippets

Tailwind Config Color Opacity

Create colors with tailwind opacity atttribute

Copy to clipboard
Copy to clipboard
Copy to clipboard

ValueSync Mixin

Mixin for valueSync

Copy to clipboard

Get Absolute Offset Top

Get the absolute offset pixel value from the top of the window

Copy to clipboard
Copy to clipboard
Copy to clipboard
Copy to clipboard
Copy to clipboard

Set, add, remove vuex mutations

Helper mutations to make "mutating" a bit easier. This snippet creates a set of generic mutations to set, add and remove states.

Copy to clipboard

ValueSync

To-way binding between components

Copy to clipboard

CSS in JS

Easily add css "the-css-like-way" in javascript

Copy to clipboard

Prettier

Prettier setup file

Copy to clipboard

TransitionMove.vue

TransitionMove component for vue transitions

Copy to clipboard

Vuex template

Boilerplate vuex store template

Copy to clipboard

LocalValetDriver for spa nuxt sites

A LocalValetDriver to serve nuxt spa sites for testing e.g. Lighthouse

Copy to clipboard