Add (new post)
This commit is contained in:
8
resources/js/stores/useError.js
Normal file
8
resources/js/stores/useError.js
Normal file
@@ -0,0 +1,8 @@
|
||||
import { defineStore } from "pinia";
|
||||
|
||||
export const useErrorStore = defineStore("error", {
|
||||
state: () => ({
|
||||
message: null,
|
||||
errors: {},
|
||||
}),
|
||||
});
|
||||
Reference in New Issue
Block a user