gehaollt / genesis

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

Home Page:https://fmfe.github.io/genesis-docs/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Cooperative partners

About

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

https://fmfe.github.io/genesis-docs/

License:MIT License


Languages

Language:TypeScript 92.4%Language:JavaScript 6.4%Language:Shell 0.7%Language:Vue 0.6%