Skip to content

Instantly share code, notes, and snippets.

View tuanna-hsp's full-sized avatar
🏠
Working from home

Nguyễn Anh Tuấn tuanna-hsp

🏠
Working from home
View GitHub Profile
@ttkoma
ttkoma / nuxt.store.plugin.ts
Last active August 17, 2023 13:56
nuxt-auth + pinia instead vuex
import { Context, Plugin } from "@nuxt/types";
import Vue from "vue";
import { defineStore, PiniaPluginContext } from "pinia";
import { ref, set } from "@nuxtjs/composition-api";
export const useAuthStore = defineStore({
id: "auth",
state: () => ({
busy: false,
@PurpleBooth
PurpleBooth / README-Template.md
Last active May 3, 2024 18:53
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@staltz
staltz / introrx.md
Last active May 3, 2024 13:00
The introduction to Reactive Programming you've been missing