9 lines
207 B
TypeScript
9 lines
207 B
TypeScript
import { App } from '@kevisual/router';
|
|
import { useContextKey, useContext } from '@kevisual/use-config/context';
|
|
|
|
const init = () => {
|
|
return new App();
|
|
};
|
|
|
|
export const app = useContextKey('app', init);
|