Skip to content

electrodejs/deprecated-electrode-router-resolver-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electrode Router Resolver Engine

NPM version Build Status Dependency Status

A server side routing engine that uses react-router and react-resolver for SSR and pre-fetch data.

Example:

import resolverEngine from "electrode-router-resolver-engine";
import routes from "../../client/routes";

...

export default {
  pageTitle: "Getting Started",
  devServer: {
    port: "2992"
  },
  plugins: [
  ],
  applicationPaths: {
    "/{args*}": {
      view: "index",
      content: resolverEngine(routes)
    }
  }
};

Built with ❤️ by Team Electrode @WalmartLabs.

About

A server side rendering engine using react-resolver and react-router

Resources

License

Stars

Watchers

Forks

Packages

No packages published