https://github.com/ymc-github/vue-ssr-dev-with-webpack-koa
run vue app development with webpack + koa (ssr mode)
https://github.com/ymc-github/vue-ssr-dev-with-webpack-koa
babel6 eslint4 koa2 webpack3
Last synced: 4 months ago
JSON representation
run vue app development with webpack + koa (ssr mode)
- Host: GitHub
- URL: https://github.com/ymc-github/vue-ssr-dev-with-webpack-koa
- Owner: YMC-GitHub
- License: mit
- Created: 2020-01-09T01:36:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-01T10:16:13.000Z (almost 5 years ago)
- Last Synced: 2025-01-11T18:49:57.096Z (6 months ago)
- Topics: babel6, eslint4, koa2, webpack3
- Language: JavaScript
- Homepage:
- Size: 487 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vue-ssr-dev-with-webpack-koa
## desc
vue app develop with webpack + koa (ssr mode)
note: you can also start your project with [Vue CLI](https://cli.vuejs.org/)

## project diretory constructor
get detail [here](./note/dir-construtor.md)
## some important deps for ssr develop
- eslint (lint .js .vue file)
- babel (handle es6+)
- webpack (pack lib)
- postcss (handle css style with future feat)
- node-sass (handle sass/scss style (optional))
- less (handle less style (optional))note: remember to take care of their version with each other.
## some config
01.what is the entry for ssr client? [config](./build/webpack.ssr-base.config.js#L24)
02.what is the entry for ssr server? [config](./build/webpack.ssr-server.config.js#L10)
06.use eslint to lint with project config [config](./build/config.js#L49-#L52)
todos ...
## some command
``` bash
# install dependencies
npm install # or yarn install# serve in dev mode, with hot reload at localhost:8080
npm run dev# build for production
npm run build# serve in production mode
npm start
```## author
yemiancheng
## contributor
eteplus
## License
MIT