1.9.0 • Published 1 year ago
egg-view-assets v1.9.0
egg-view-assets
Manage frontend assets in development and production.
Install
$ npm i egg-view-assets --save
Usage
Add egg-view-assets
as plugin
// {app_root}/config/plugin.js
exports.assets = {
enable: true,
package: 'egg-view-assets',
};
Configuration, you can see full example in egg-ant-design-pro.
// {app_root}/config/config.default.js
exports.view = {
mapping: {
'.js': 'assets',
},
};
exports.assets = {
devServer: {
command: 'roadhog dev',
port: 8000,
},
};
See config/config.default.js for more detail.
Questions & Suggestions
Please open an issue here.
License
1.9.0
1 year ago
1.8.4
1 year ago
1.8.2
2 years ago
1.8.1
2 years ago
1.8.3
2 years ago
1.8.0
3 years ago
1.7.0
4 years ago
1.6.2
4 years ago
1.6.1
4 years ago
1.6.0
5 years ago
1.5.0
6 years ago
1.4.4
6 years ago
1.4.3
6 years ago
1.4.2
6 years ago
1.4.1
6 years ago
1.4.0
6 years ago
1.3.0
6 years ago
1.2.0
6 years ago
1.1.2
7 years ago
1.1.1
7 years ago
1.1.0
7 years ago
1.0.4
7 years ago
1.0.3
7 years ago
1.0.2
7 years ago
1.0.1
7 years ago
1.0.0
7 years ago
1.0.0-alpha.2
7 years ago
1.0.0-alpha.1
7 years ago