初始化
This commit is contained in:
11
stores/index.ts
Normal file
11
stores/index.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* @description: 全局pinia
|
||||
*/
|
||||
|
||||
import { createPinia } from 'pinia';
|
||||
|
||||
|
||||
// 创建
|
||||
const pinia = createPinia()
|
||||
// 导出
|
||||
export default pinia;
|
||||
Reference in New Issue
Block a user