Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 6 days 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 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-01T10:16:13.000Z (about 4 years ago)
- Last Synced: 2024-09-23T20:02:06.716Z (10 days 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/)
![screenshot](./public/static/img/screenshot.png)
## 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