Skip to content

Latest commit

 

History

History
65 lines (49 loc) · 1.65 KB

README.md

File metadata and controls

65 lines (49 loc) · 1.65 KB

egg-view-laytpl

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-view-laytpl --save

Usage

// {app_root}/config/plugin.js
exports.laytpl = {
  enable: true,
  package: 'egg-view-laytpl',
};

Configuration

// {app_root}/config/config.default.js
exports.laytpl = {
  open: '<%',
  close: '%>'
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT