UNPKG

@18ys/god

Version:

prefer to a global Object that can set some data to it, because vue3 don't have the global Object Vue.

9 lines (7 loc) 110 B
import { state } from './state'; function ask(key: string) { return state[key] || null; } export { ask }