Closed Tasin5541 closed 1 month ago
Turns out the issue was with the tailwind.config.ts
file. The content
paths had Component
with capital 'C' in it but the project is using component
with small 'c'. vscode ignores the case while building app, which is why it works locally.
Describe the bug
We have a NextJs v14.2.2 app with
pages
router. We are using static export (output: 'export') to deploy the app onstatic web app
. However, after deploying, it seems all the styles are missing.All styles are available if I run the output directory with
npx serve@latest out
locally.Azure Pipelines YAML
Expected behavior All styles should be available.
Additional context staticwebapp.config.json: