Closed qsjiang closed 9 years ago
Inside the example app https://github.com/paypal/react-engine/blob/master/examples/complex/index.js
var engine = renderer.server.create({ routes: require(path.join(__dirname + '/public/routes.jsx')), routesFilePath: path.join(__dirname + '/public/routes.jsx') });
It looks like you can only have one route file configured with the react-engine. Is there a way for react-engine to support multiple route files inside the same project?
Thanks!
@qsjiang not at the moment, it doesn't support multiple files. all routes need to be packaged into a single definition.
Inside the example app https://github.com/paypal/react-engine/blob/master/examples/complex/index.js
It looks like you can only have one route file configured with the react-engine. Is there a way for react-engine to support multiple route files inside the same project?
Thanks!