Code works well in development , But have bug in production
Unanswered
Chartreux posted this in #help-forum
ChartreuxOP
The first block of code , works well in development also in production , the second block of code work well in development , but can't switch to the "activeIcon" in production , here is the the website "https:www/talpx.com"
3 Replies
Always test with
npm run build && npm startTry that command and see if it works
@Clown Try that command and see if it works
ChartreuxOP
It works totally fine after npm run build, just don't know why it will cause bugs in production.