21 lines
1.0 KiB
JavaScript
21 lines
1.0 KiB
JavaScript
|
"use strict";
|
||
|
const modules_mall_sheep_store_app = require("./app.js");
|
||
|
const modules_mall_sheep_store_cart = require("./cart.js");
|
||
|
const modules_mall_sheep_store_modal = require("./modal.js");
|
||
|
const modules_mall_sheep_store_sys = require("./sys.js");
|
||
|
const modules_mall_sheep_store_user = require("./user.js");
|
||
|
const common_vendor = require("../../../../common/vendor.js");
|
||
|
const files = /* @__PURE__ */ Object.assign({ "./app.js": modules_mall_sheep_store_app.__vite_glob_0_0, "./cart.js": modules_mall_sheep_store_cart.__vite_glob_0_1, "./modal.js": modules_mall_sheep_store_modal.__vite_glob_0_2, "./sys.js": modules_mall_sheep_store_sys.__vite_glob_0_3, "./user.js": modules_mall_sheep_store_user.__vite_glob_0_4 });
|
||
|
const modules = {};
|
||
|
Object.keys(files).forEach((key) => {
|
||
|
modules[key.replace(/(.*\/)*([^.]+).*/gi, "$2")] = files[key].default;
|
||
|
});
|
||
|
const setupPinia = (pinia) => {
|
||
|
pinia.use(common_vendor.index$1);
|
||
|
};
|
||
|
const $store = (name) => {
|
||
|
return modules[name]();
|
||
|
};
|
||
|
exports.$store = $store;
|
||
|
exports.setupPinia = setupPinia;
|