mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 09:52:20 +00:00
Router and store
This commit is contained in:
10
frontend/src/store/module-example/mutations.ts
Normal file
10
frontend/src/store/module-example/mutations.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { MutationTree } from 'vuex';
|
||||
import { ExampleStateInterface } from './state';
|
||||
|
||||
const mutation: MutationTree<ExampleStateInterface> = {
|
||||
someMutation (/* state: ExampleStateInterface */) {
|
||||
// your code
|
||||
}
|
||||
};
|
||||
|
||||
export default mutation;
|
||||
Reference in New Issue
Block a user