Skip to content
forked from dp-os/gez

🔥Vue SSR supports the use of Federated modules🔥

License

Notifications You must be signed in to change notification settings

bitem-cn/genesis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status npm npm npm
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
🔥Support module Federation version🔥
🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥

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

About

🔥Vue SSR supports the use of Federated modules🔥

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

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