UNPKG

angular-base-starter

Version:

Angular starter based on @ngrx/store & Redux

15 lines (12 loc) 426 B
import * as path from 'path'; import * as base from '../../src/base'; import { AppModule } from '../../src/app/app.module'; const viewPath = path.resolve(__dirname, '../templates'); export function applyViewEngine(app) { /* app.engine('.html', createEngine({ngModule: AppModule})); app.set('views', viewPath); app.set('view engine', 'html'); base.console.success(`Applied Angular2 Express Engine`); */ }