You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

15 lines
414 B

import { createPinia } from 'pinia'
import persist from 'pinia-plugin-persistedstate'
// 创建 pinia 实例
const pinia = createPinia()
// 使用持久化存储插件
pinia.use(persist)
// 导入所有模块
export * from './modules/userInfo'
export * from './modules/deviceInfo'
export * from './modules/deepExploration'
export * from './modules/login'
// 默认导出,给 main.js 使用
export default pinia