15 lines
360 B
JavaScript
15 lines
360 B
JavaScript
"use strict";
|
|
const common_vendor = require("../common/vendor.js");
|
|
require("./user.js");
|
|
require("./config.js");
|
|
const store = common_vendor.createPinia();
|
|
store.use(
|
|
common_vendor.createPersistedState({
|
|
storage: {
|
|
getItem: common_vendor.index.getStorageSync,
|
|
setItem: common_vendor.index.setStorageSync
|
|
}
|
|
})
|
|
);
|
|
exports.store = store;
|