Closed rajat2502 closed 3 months ago
Here's how to resolve this
After running the studio:build
, I recommend running npx serve ./studio
instead of manually opening the index.html
any way i can convert them to relative paths? I don't want to use a server for this particular build
Description
When I run the studio build command to generate the studio, the HTML file has incorrect paths to the different assets (CSS, JS, etc). Which breaks the final page.
Here's the screenshot of the page with broken paths + what the current paths are:
If I manually fix these paths, then the page works perfectly.
Link to Reproduction
https://github.com/rajat2502/pandacss-experiments/pull/1
Steps to reproduce
design-system
directory.yarn studio:build
index.html
file from thestudio
folder.JS Framework
React (TS)
Panda CSS Version
0.37.2
Browser
CLI
Operating System
Additional Information
No response