mirror of
https://github.com/aljazceru/meshcore-web.git
synced 2025-12-19 00:54:21 +01:00
start implementing client based on meshtxt
This commit is contained in:
10
src/js/GlobalState.js
Normal file
10
src/js/GlobalState.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import {reactive} from "vue";
|
||||
|
||||
// global state
|
||||
const globalState = reactive({
|
||||
connection: null,
|
||||
selfInfo: null,
|
||||
contacts: [],
|
||||
});
|
||||
|
||||
export default globalState;
|
||||
Reference in New Issue
Block a user