mirror of
https://github.com/sendevia/website.git
synced 2026-03-06 07:40:50 +08:00
fix: export PostData type from posts store
This commit is contained in:
@@ -2,6 +2,8 @@ import { defineStore } from "pinia";
|
||||
import { computed, ref } from "vue";
|
||||
import { data as postsData, type PostData } from "./posts.data";
|
||||
|
||||
export { PostData } from "./posts.data";
|
||||
|
||||
export const usePostStore = defineStore("posts", () => {
|
||||
const posts = ref<PostData[]>(postsData);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user