Skip to content

Instantly share code, notes, and snippets.

View laluxgp's full-sized avatar
🏠
Working from home

Eduardo Gutierrez Perez laluxgp

🏠
Working from home
View GitHub Profile
@Klerith
Klerith / index.ts
Last active August 23, 2024 21:46
Vuex + TypeScript - Store Structure Strongly Typed
import { createStore } from 'vuex';
// My custom modules
import exampleModule from './module-template';
import { ExampleStateInterface } from './module-template/state';
export interface StateInterface {
// Define your own store structure, using submodules if needed
// example: ExampleStateInterface;