Controllers

By default controller classes are located in APP_ROOT/controllers/**/* where APP_ROOT is the application base folder. The location can be changed using the controllersRoot configuration property. All controller classes must be decorated with @controller.

import { controller } from 'kikwit';
@controller
export class Products {
    ...
}

results matching ""

    No results matching ""