Vulcan/packages/vulcan-routing/lib/server
Al Pagan 48ad632bf3 Add callbacks to vulcan:routing SSR hooks
This method allows for access to the SSR app component and associated css in the routing's hook functions without needing to hack core files.

This makes it possible, for example, to add MUI wrapper components and inject compiled css with the JSS library (see https://material-ui-1dab0.firebaseapp.com/guides/server-rendering).

Here's how I'd implement the callbacks in my own custom module: https://gist.github.com/wayfarerboy/96c0f1d13b3b7d3d2743501a1c7c0187
2017-10-13 14:20:20 +01:00
..
main.js renaming nova-xyz directories to vulcan-xyz 2017-03-24 10:19:24 +09:00
router.jsx Adds support for SSR for styled-components 2017-07-28 00:44:55 -04:00
routing.jsx Add callbacks to vulcan:routing SSR hooks 2017-10-13 14:20:20 +01:00