Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants