- built using Remix to be used as an express request handler.
Start the Remix development asset server and the Express server by running:
npm run dev
First, build your app for production:
npm run build
integrate the app in the express server
app.get(
'/',
createRequestHandler({
build: await import(
path.join(process.cwd(), 'landing', 'build', 'index.js')
)
})
)