mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Poprawki wizualne responsywności
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import store from "@/store";
|
||||
import { Module, VuexModule, Mutation, Action, MutationAction } from "vuex-module-decorators";
|
||||
|
||||
@Module({ dynamic: true, store, name: "dataModule" })
|
||||
export default class MyModule extends VuexModule {
|
||||
test: string = "xd";
|
||||
|
||||
get getTest() {
|
||||
return this.test;
|
||||
}
|
||||
|
||||
@MutationAction
|
||||
async fetchTest() {
|
||||
const fetched = "aaa";
|
||||
|
||||
return { test: fetched };
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user