How can I tell if I am in yarn run dev mode in the code of electron+vue.js?

some code in renderer only needs to be run in the version of yarn run build. You don"t have to run in run dev. Are there any environment variables that can determine whether you are in run dev mode or not?

Jun.08,2022

you can see process.env

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b2c54c-2b283.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b2c54c-2b283.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?