doc: import reactive and add state to it

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