egg-multi-applicantion-static

Static resource paths for multiple web applications can be configured

Usage no npm install needed!

<script type="module">
  import eggMultiApplicantionStatic from 'https://cdn.skypack.dev/egg-multi-applicantion-static';
</script>

README

egg-egg-multi-applicantion-static

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

Install

$ npm i egg-egg-multi-applicantion-static --save

Usage

// {app_root}/config/plugin.js
exports.multiApplicantionStatic = {
  enable: true,
  package: 'egg-multi-applicantion-static',
};

Configuration

// {app_root}/config/config.default.js
exports.multiApplicantionStatic = {
};

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT