Skip to content

Can the Express routes be placed in a different file? #5

@aysiscore

Description

@aysiscore

The server.js file has the Express routes in it. It would be better if these could be in a different file like express.router.js in the ./router folder. Is that possible with setupDevServer(app, (serverBundle) => { renderer = createRenderer(serverBundle); }); being required in both server.js and the express.router.js?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions