Helper function to get an absolute path for a template engine view
npm:
npm install get-paths
yarn:
yarn add get-paths
const getPaths = require('get-paths');
const paths = await getPaths('views', 'home', 'pug');
Name | Website |
---|---|
Nick Baugh | http://niftylettuce.com/ |