Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 4.34 KB

README.md

File metadata and controls

51 lines (42 loc) · 4.34 KB

Build Status Coverage Status npm npm npm

Architecture diagram

What is Genesis?

  • It is a render Library Based on Vue SSR. It provides four render modes: ssr-html, ssr-json, csr-html and csr-json.
  • HTML render mode, can improve the first screen render speed and more SEO friendly.
  • JSON render mode can be used for VueEJSReact, etc. for server-side render or client-side render.
  • Microservices provide API interfaces that uses JSON render mode to generate HTML structures which can be embedded into html pages on client-side or server-side.

Quick start

yarn
yarn dev # Development
yarn build # Build production package
yarn start # Run production package
# open http://localhost:3000

Document

简体中文| English

Codesandbox

Demo

Core library description

Library Version Downloads Explain
genesis-core npm npm Provides basic plug-in mechanism, SSR rendering logic and program configuration
genesis-compiler npm npm Can only be used in the development environment. It compiles the program, and handles the webpack's core logic
genesis-app npm npm Quickly create applications and wrap vue-router
genesis-remote npm npm Remote components to implement the core dependency of microservices
square npm npm A state management library designed for micro modules
genesis-lint npm npm A code guideline includes eslint and stylelint

Use case