Git Product home page Git Product logo

vue-cli3-ssr-project's Introduction

vue-cli3-ssr-project

基于 Vue-Cli3 改造的 SSR 服务端渲染项目,目的是改造成可用于工程上

  • 基于 Cli3 进行改造的前后端渲染项目
  • 支持最新的 Vue 版本 v2.6.0+ , 支持 serverPrefetch
  • 支持通过配置决定 Page 是否服务端渲染
  • 使用 KOA 作为 server 端框架
  • PM2 配置支持
  • 支持前端渲染基于路由变更后再请求数据,用户体验更好
  • 优化基于 cli3 的环境配置,改为 config 文件中配置,包括 cdn 地址支持
  • 优化 dev 开发 ssr,通过双启动(ssr-server & client-dev-server)方式,实现前后端 dev 开发无感知,解决方案更加优雅
  • SEO 的支持,支持 tkd 以及 head 附加

v0.3.4

  • update npm package version

v0.3.3

  • FIX DEV SOCKET BUG: WebSocket failed: Connection closed before receiving a handshake response ADD SOCKET PROXY FOR DEV

v0.3.1

  • fix tdk bug

v0.3.0

  • add serverPrefetch for ssr , rm async data

v0.2.1

  • add critical css to ssr
  • fix enable map file on ssr runtime bug

v0.2.0

  • update to Vue v2.6.0+

Project setup

npm install

Compiles and hot-reloads for development

npm run dev

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

vue-cli3-ssr-project's People

Contributors

ediaos avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.