Pawan Singh Bisht
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Okay fine. Everything is wokring fine.
Just let me know if I’ll add the build to the live site, root of the site thenit’ll open as
http://ec2-43-205-189-241.ap-south-1.compute.amazonaws.com/build
right?
I want, it should open as http://ec2-43-205-189-241.ap-south-1.compute.amazonaws.com/
without the slug.
It’s weird. After running the build command I got the build folder and I’ve placed this in the route folder but from here I can access the
/images folder
"start": "PUBLIC_URL=/test react-scripts start", "build": "PUBLIC_URL=/test/wp-content/reactpress/apps/honeweb/build react-scripts build",like this?
This is the package.json file
{ "name": "sefali", "version": "0.1.0", "private": true, "dependencies": { "@testing-library/jest-dom": "^5.16.4", "@testing-library/react": "^13.3.0", "@testing-library/user-event": "^13.5.0", "animate.css": "^4.1.1", "animate.css-react": "^1.1.0", "aos": "^2.3.4", "gotham-fonts": "^1.0.3", "react": "^18.1.0", "react-animate-on-scroll": "^2.1.5", "react-animation-on-scroll": "^5.1.0", "react-dom": "^18.1.0", "react-jquery-plugin": "^1.1.7", "react-multi-carousel": "^2.8.2", "react-router-dom": "^6.3.0", "react-scripts": "^5.0.1", "react-slick": "^0.29.0", "slick-carousel": "^1.8.1", "tachyons": "^4.12.0", "web-vitals": "^2.1.4" }, "scripts": { "start": "PUBLIC_URL=/test react-scripts start", "build": "PUBLIC_URL=/wp-content/reactpress/apps/honeweb/build react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, "eslintConfig": { "extends": [ "react-app", "react-app/jest" ] }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] } }And I hope you are already aware of the WordPress file structure.
Also, this is the frontend of the website – http://ec2-43-205-189-241.ap-south-1.compute.amazonaws.com/
- This reply was modified 3 years, 8 months ago by Pawan Singh Bisht.
- This reply was modified 3 years, 8 months ago by Pawan Singh Bisht.
Viewing 4 replies - 1 through 4 (of 4 total)