https://github.com/easy-team/egg-webpack-vue
Vue Server-Side Rendering Webpack Memory Compilation Plugin for Egg
https://github.com/easy-team/egg-webpack-vue
egg server-side-rendering ssr vue webpack webpack-configuration webpack2-boilerplate
Last synced: 3 months ago
JSON representation
Vue Server-Side Rendering Webpack Memory Compilation Plugin for Egg
- Host: GitHub
- URL: https://github.com/easy-team/egg-webpack-vue
- Owner: easy-team
- License: mit
- Created: 2017-04-29T03:29:14.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2019-06-26T10:53:12.000Z (about 7 years ago)
- Last Synced: 2026-01-27T08:58:29.363Z (5 months ago)
- Topics: egg, server-side-rendering, ssr, vue, webpack, webpack-configuration, webpack2-boilerplate
- Language: JavaScript
- Homepage: https://easyjs.cn
- Size: 31.3 KB
- Stars: 7
- Watchers: 3
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: History.md
- License: LICENSE
Awesome Lists containing this project
README
# egg-webpack-vue
[![NPM version][npm-image]][npm-url]
[![build status][travis-image]][travis-url]
[![Test coverage][codecov-image]][codecov-url]
[![David deps][david-image]][david-url]
[![Known Vulnerabilities][snyk-image]][snyk-url]
[![npm download][download-image]][download-url]
[npm-image]: https://img.shields.io/npm/v/egg-webpack-vue.svg?style=flat-square
[npm-url]: https://npmjs.org/package/egg-webpack-vue
[travis-image]: https://img.shields.io/travis/easy-team/egg-webpack-vue.svg?style=flat-square
[travis-url]: https://travis-ci.org/easy-team/egg-webpack-vue
[codecov-image]: https://img.shields.io/codecov/c/github/easy-team/egg-webpack-vue.svg?style=flat-square
[codecov-url]: https://codecov.io/github/easy-team/egg-webpack-vue?branch=master
[david-image]: https://img.shields.io/david/easy-team/egg-webpack-vue.svg?style=flat-square
[david-url]: https://david-dm.org/easy-team/egg-webpack-vue
[snyk-image]: https://snyk.io/test/npm/egg-webpack-vue/badge.svg?style=flat-square
[snyk-url]: https://snyk.io/test/npm/egg-webpack-vue
[download-image]: https://img.shields.io/npm/dm/egg-webpack-vue.svg?style=flat-square
[download-url]: https://npmjs.org/package/egg-webpack-vue
support vue server rendering file memory read for [egg-webpack](https://github.com/hubcarl/egg-webpack) and [egg-view-vue-ssr](https://github.com/easy-team/egg-view-vue-ssr). when the local development, wepback memory read the way to cover the local file read logic.
## Install
```bash
$ npm i egg-webpack-vue --save
```
## Usage
```js
// {app_root}/config/plugin.js
exports.webpackvue = {
enable: true,
package: 'egg-webpack-vue',
};
```
## Configuration
see [config/config.default.js](config/config.default.js) for more detail.
## Questions & Suggestions
Please open an issue [here](https://github.com/easy-team/egg-webpack).
## License
[MIT](LICENSE)