WIP Набросала кастомный календарь

This commit is contained in:
Daria Golova
2023-05-29 17:38:37 +03:00
parent d6f17cead5
commit ca36328a89
5 changed files with 173 additions and 14 deletions

View File

@@ -1,5 +1,6 @@
import { createStore } from "vuex";
import medical from "./modules/medicalCard";
import calendar from "./modules/calendar";
export default createStore({
state: {
@@ -9,6 +10,7 @@ export default createStore({
},
modules: {
medical,
calendar,
},
getters: {
getUrl(state) {

View File

@@ -0,0 +1,17 @@
import * as moment from "moment/moment";
const state = () => ({
currentDate: moment(),
});
const getters = {};
const actions = {};
const mutations = {};
export default {
state,
getters,
actions,
mutations,
};