Skip to content
This repository was archived by the owner on Feb 19, 2025. It is now read-only.

Sample does not work when npm run build && serve -s build #19

Open
AdrianPasik opened this issue Jun 23, 2022 · 1 comment
Open

Sample does not work when npm run build && serve -s build #19

AdrianPasik opened this issue Jun 23, 2022 · 1 comment

Comments

@AdrianPasik
Copy link

Do I need to change some paths in order to make it work after build ?

@mithelan
Copy link

in the public folder create a file called serve.json and add the following code.Then build the project.

{
  "cleanUrls": false
}

This will sort the issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants