All Projects → panezhang → vue-ssr-universal-app

panezhang / vue-ssr-universal-app

Licence: MIT license
Universal Vue SSR App Seed Project

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
Vue
7211 projects
CSS
56736 projects

Projects that are alternatives of or similar to vue-ssr-universal-app

vite-plugin-ssr
Like Next.js / Nuxt but as do-one-thing-do-it-well Vite plugin.
Stars: ✭ 1,703 (+13000%)
Mutual labels:  vue-ssr
vue-ssr-demo
vue support ssr with node
Stars: ✭ 55 (+323.08%)
Mutual labels:  vue-ssr
vue-ssr-example
Ready for use Example for Vue + Vuex + TS + SSR + Jest
Stars: ✭ 23 (+76.92%)
Mutual labels:  vue-ssr
ves
Vue SSR(Server Side Render) Web Framework for Egg
Stars: ✭ 23 (+76.92%)
Mutual labels:  vue-ssr
freyja
A fast blog system
Stars: ✭ 16 (+23.08%)
Mutual labels:  vue-ssr
koa-vue-view
A Koa view engine which renders Vue components on server.
Stars: ✭ 29 (+123.08%)
Mutual labels:  vue-ssr
vuniversal
[WIP] Create vue (3) universal web applications quickly by @vitejs.
Stars: ✭ 20 (+53.85%)
Mutual labels:  vue-ssr
unnue-nuxt
开媛笔记,基于nuxt ssr首屏服务器端渲染 ⚡。用于分享、记录、交流和学习,希望可以帮助到小伙伴们。同时网站在永久更新,备好鸡血,一起来战 Ooh aah!
Stars: ✭ 98 (+653.85%)
Mutual labels:  vue-ssr
vue-ssr-lessons
包教会的 vue 服务端渲染课程
Stars: ✭ 81 (+523.08%)
Mutual labels:  vue-ssr

Universal Vue SSR App Seed Project

As vue-cli is an excellent scaffold to start a Vue SPA project, but to get the full benefits of Vue SSR still pains. nuxt.js is too heavy and not flexible enough, while vue-hackernews-2.0 seems a little complicated.

So, this repo is target to detail How to start a universal web app using Vue SSR with less pains.

Get Started

  • For koa server, we need a node version >= 7.6.
  • For express server, I test with node version 6.9 only.
npm install

## dev with koa server, require node >= 7.6
npm start 
# or 
npm run koa

## dev with express
npm run express

Build

## build
npm run build
# run
node build/server.js

## build for production, with uglify etc.
NODE_ENV=prod npm run build
# run
NODE_ENV=prod node build/server.js

Any questions, welcome to raise an issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].