This is what Create React App suggest after running npm run build:
The project was built assuming it is hosted at the server root.
You can control this with the homepage field in your package.json.
For example, add this to build it for GitHub Pages:
"homepage" : "http://myname.github.io/myapp",
The build folder is ready to be deployed.
You may serve it with a static server:
npm install -g serve
serve -s build
Find out more about deployment here:
http://bit.ly/2vY88Kr
This is deprecated since V7, as the new api is not compatible at all with previous versions.
I will cross post to CRA github, but I think it's also related to this package somehow. maybe you should consider tagging the V7 @next instead of @latest...
This is what Create React App suggest after running
npm run build:This is deprecated since V7, as the new api is not compatible at all with previous versions.
I will cross post to CRA github, but I think it's also related to this package somehow. maybe you should consider tagging the V7
@nextinstead of@latest...