|
il y a 3 ans | |
---|---|---|
.. | ||
test | il y a 3 ans | |
.editorconfig | il y a 3 ans | |
.gitattributes | il y a 3 ans | |
.lib.eslintrc | il y a 3 ans | |
.remarkignore | il y a 3 ans | |
.travis.yml | il y a 3 ans | |
LICENSE | il y a 3 ans | |
README.md | il y a 3 ans | |
index.js | il y a 3 ans | |
package.json | il y a 3 ans |
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/ |