How to use the @nitro/app/app/lib/view.getViews function in @nitro/app

To help you get started, we’ve selected a few @nitro/app examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github namics / generator-nitro / packages / nitro-gulp / tasks / dump-views.js View on Github external
function getViews() {
	return view
		.getViews(`${config.get('nitro.basePath')}${config.get('nitro.viewDirectory')}`)
		.filter(viewFilter)
		.map((viewItem) => viewItem.url);
}

@nitro/app

Nitro server

MIT
Latest version published 2 months ago

Package Health Score

69 / 100
Full package analysis