@harmonyjs/controller-spa
Version:
Single Page Application controller for Harmony
20 lines (19 loc) • 443 B
TypeScript
import { Controller } from '@harmonyjs/types-server';
declare type SPAView = {
path: string;
dir: string;
file: string;
};
declare type SPAWebpack = {
active: boolean;
endpoint: string;
port: number;
};
declare type ControllerSPAConfig = {
path: string;
dir: string;
views?: SPAView[];
webpack?: SPAWebpack;
};
declare const ControllerSPA: Controller<ControllerSPAConfig>;
export default ControllerSPA;