blakeblackshear.frigate/web/src/routes/index.js

30 lines
759 B
JavaScript
Raw Normal View History

2021-02-07 22:46:05 +01:00
export async function getCameraMap(url, cb, props) {
const module = await import('./CameraMap.jsx');
return module.default;
}
export async function getCamera(url, cb, props) {
const module = await import('./Camera.jsx');
return module.default;
}
export async function getEvent(url, cb, props) {
const module = await import('./Event.jsx');
return module.default;
}
export async function getEvents(url, cb, props) {
const module = await import('./Events.jsx');
return module.default;
}
export async function getDebug(url, cb, props) {
const module = await import('./Debug.jsx');
return module.default;
}
export async function getStyleGuide(url, cb, props) {
const module = await import('./StyleGuide.jsx');
return module.default;
}