electrode-router-resolver-engine
v1.1.0
Published
A server side rendering engine using react-resolver and react-router
Downloads
2
Readme
Electrode Router Resolver Engine
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)
}
}
};