From 8f20b188757c7f8c17097a1d0bb43b1bc556a43a Mon Sep 17 00:00:00 2001 From: EBits00 <97814750+EBits00@users.noreply.github.com> Date: Mon, 22 Aug 2022 13:33:54 -0300 Subject: [PATCH] Updated Express code to serve assets (#4402) Assets where not served so the style was not applied, fixed this by adding the line app.use(express.static('dist/client/')) --- packages/integrations/node/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/integrations/node/README.md b/packages/integrations/node/README.md index 274352577..62f9ae179 100644 --- a/packages/integrations/node/README.md +++ b/packages/integrations/node/README.md @@ -57,6 +57,7 @@ import express from 'express'; import { handler as ssrHandler } from './dist/server/entry.mjs'; const app = express(); +app.use(express.static('dist/client/')) app.use(ssrHandler); app.listen(8080);