If you build something and then upload it to www.website.com/newFolder and it breaks, you need to make it relative.
To do this, just add
"homepage": "./",
to your package.json and rebuild.
If you build something and then upload it to www.website.com/newFolder and it breaks, you need to make it relative.
To do this, just add
"homepage": "./",
to your package.json and rebuild.
Mark Wong is a front end developer with 10+ years experience. Most of his knowledge of HTML5, CSS and Js is self taught.
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Leave a Reply