Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Manage frontend assets in development and production.

License

NotificationsYou must be signed in to change notification settings

eggjs/egg-view-assets

Repository files navigation

NPM versionNode.js CITest coveragenpm download

Manage frontend assets in development and production.

Install

$ npm i egg-view-assets --save

Usage

Addegg-view-assets as plugin

// {app_root}/config/plugin.jsexports.assets={enable:true,package:'egg-view-assets',};

Configuration, you can see full example inegg-ant-design-pro.

// {app_root}/config/config.default.jsexports.view={mapping:{'.js':'assets',},};exports.assets={devServer:{command:'roadhog dev',port:8000,},};

Seeconfig/config.default.js for more detail.

Questions & Suggestions

Please open an issuehere.

License

MIT


[8]ページ先頭

©2009-2025 Movatter.jp