Vue 2.0 + Vue-Router + vuex + element-UI + nodejs The project has not yet been deployed to the cloud server and the browser side rendering to compare the browser side doubanMovie

Take a quick look at the GIF: Notice that the address bar is different from the browser-side render with #/. But to deserve /

Features

  • Server -vue + VUe-router + vuex working together
    • Server-side data pre-fetching
    • Client-side state & DOM hydration
    • Automatically inlines CSS used by rendered components only
  • Vue single file component – hot-reload in development
    • CSS extraction for production
  • Real-time List Updates with FLIP Animation

A simple summary

Build steps

Requires Node.js 6+

# install dependencies
npm install # or yarn

# serve in dev mode, with hot reload at localhost:8080
npm run dev

# build for production
npm run build

# serve in production mode
npm startCopy the code