Skip to content
forked from dp-os/gez

šŸ”„Micro front end, micro service and lightweight solution based on Vue SSRšŸ”„

License

Notifications You must be signed in to change notification settings

codcarry/genesis

Ā 
Ā 

Repository files navigation

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 Vue态 EJS态React, 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

About

šŸ”„Micro front end, micro service and lightweight solution based on Vue SSRšŸ”„

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 92.6%
  • JavaScript 6.3%
  • Other 1.1%