Skip to content

Instantly share code, notes, and snippets.

View Krislunde's full-sized avatar
🤠

Krislunde

🤠
View GitHub Profile
@Krislunde
Krislunde / SomeParentComponent.vue
Created September 16, 2025 02:16 — forked from Chippd/SomeParentComponent.vue
Nuxt Captcha plugin (for /r/nuxt reply)
<template>
<!-- rest of component -->
<TheCaptcha
ref="captcha"
@verify="handleCaptchaVerify"
@error="handleCaptchaError"
@expired="handleCaptchaExpired"
@challengeExpired="handleCaptchaChallengeExpired"
@Krislunde
Krislunde / fancy-css-links.md
Created June 26, 2025 11:49 — forked from jaames/fancy-css-links.md
Fancy CSS link underlines with inline SVGs (plus embedded animations!)
@Krislunde
Krislunde / auth.js
Created September 5, 2022 12:21 — forked from wobsoriano/auth.js
nuxtServerInit like implementation for Pinia
import { defineStore } from 'pinia'
export const useAuthStore = defineStore({
id: 'auth',
state: () => ({
isAuthenticated: false,
user: null
}),
actions: {
async nuxtServerInit() {