Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tangdaohai/vue-ssr-demo

vue support ssr with node
https://github.com/tangdaohai/vue-ssr-demo

ssr vue-ssr

Last synced: 9 days ago
JSON representation

vue support ssr with node

Awesome Lists containing this project

README

        

# vue-ssr-demo

> support ssr with node

## Build Setup

``` bash
# install dependencies
npm install

# 打包生成环境与服务器端渲染资源
npm run build

# 启动服务
npm run start-prod
#或者
node server.js
```

链接到本库的博客文章地址:

[让vue-cli初始化后的项目集成支持SSR](http://blog.myweb.kim/vue/%E8%AE%A9vue-cli%E5%88%9D%E5%A7%8B%E5%8C%96%E5%90%8E%E7%9A%84%E9%A1%B9%E7%9B%AE%E9%9B%86%E6%88%90%E6%94%AF%E6%8C%81SSR/?utm-source=github)