文件名称:cache-pug-templates:具有Redis的LadKoaExpressConnect的缓存Pug模板
文件大小:135KB
文件格式:ZIP
更新时间:2024-02-25 06:15:55
redis caching template app koa
缓存插件模板 缓存 / / / 模板。 目录 安装 : npm install cache-pug-templates : yarn add cache-pug-templates 用法 基本的 const path = require ( 'path' ) ; const CachePugTemplates = require ( 'cache-pug-templates' ) ; const views = path . join ( __dirname , 'views' ) ; const cache = new CachePugTemplates ( { views }
【文件预览】:
cache-pug-templates-master
----.travis.yml(111B)
----index.js(5KB)
----package.json(2KB)
----test()
--------test.js(2KB)
--------fixtures()
----LICENSE(1KB)
----.gitignore(56B)
----README.md(4KB)
----yarn.lock(323KB)
----.editorconfig(147B)
----.remarkignore(23B)
----.gitattributes(12B)