Closed ahmad-safar closed 8 years ago
Hey i got solution for this:
import './client/main'
in server.js
, so all client stuff loads in server too.methodStubs
in client using Meteor.isClient
Meteor.isClient
blockSSR in MantraJS + Webpack is working now :)
hi how can you make ssr works ? could you share the demo in github ? I didn't work as expected . it did not render the html elements. Thanks very much
hi @ansonla3 . Just follow my solution above and make sure you're import kadira:flow-router-ssr
not kadira:flow-router
I already implementing FlowRouter SSR. but have one problem. when defining
FlowRouter.route
insidefunction (injectDeps)
. SSR won't working, but after definingFlowRouter.route
outsidefunction (injectDeps)
it will work.