mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-10-15 20:18:49 +08:00
18 lines
226 B
Smarty
18 lines
226 B
Smarty
import { createPinia } from 'pinia'
|
|
{{{IMPORT_PLUGINS}}};
|
|
|
|
const pinia = createPinia();
|
|
|
|
{{#PLUGINS}}
|
|
pinia.use({{.}});
|
|
{{/PLUGINS}}
|
|
|
|
const install = function (app) {
|
|
app.use(pinia);
|
|
}
|
|
|
|
export {
|
|
install,
|
|
pinia,
|
|
};
|