doc: import reactive and add state to it

This commit is contained in:
Leon Xu committed 2021-12-31 11:57:16 -08:00
1 parent d67898ac72
commit 0b7267194f
1 file changed
+8
+8
View File
@@ -1 +1,9 @@
import { reactive } from "vue";
const state = reactive({
user: null,
});
export default {
state,
};