npm install
npm run serve
npm run build
npm run lint
- 从dist/server/js/app.xx.js中获取createApp方法
- 使用createApp创建vue应用
- 使用renderToString方法将vue应用转换成字符串
- 以client/index.html为模板,将字符串插入到指定的vue容器中。
- 监听一个端口,返回插入了vue应用的html
- 代理静态资源
npm install
npm run serve
npm run build
npm run lint