增加website
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
//actions.ts
|
||||
const actions= {};
|
||||
export default actions;
|
||||
@@ -0,0 +1,12 @@
|
||||
//index.ts
|
||||
import { createStore } from "vuex";
|
||||
import state from "./state";
|
||||
import mutations from "./mutations";
|
||||
import actions from "./actions";
|
||||
const store = createStore({
|
||||
state,
|
||||
mutations,
|
||||
actions,
|
||||
modules: {},
|
||||
});
|
||||
export default store;
|
||||
@@ -0,0 +1,3 @@
|
||||
//mutations.ts
|
||||
const mutations= {};
|
||||
export default mutations;
|
||||
@@ -0,0 +1,3 @@
|
||||
//state.ts
|
||||
const state= {};
|
||||
export default state;
|
||||
Reference in New Issue
Block a user