I am developing a web application.
What are the best practices for displaying version information in web applications?
I'm using semantic versioning and I already have semver e.g. 1.2.0
But I'm curious where is the best way to display it and how to manage it. I'm considering:
Is this method reasonable?
Are there any examples in jsfiddle or codepen on how to do this?
Thanks
Chaff
P粉0252850562024-04-15 15:43:49
<a target="_blank" href="https://qm.qq.com/cgi-bin/qm/qr?k=eIuh4z0ka9vahJFJozzl2Kic7AQgTbg3&jump_from=webapi&authKey=HG6G/ qJK4rSr5rl689c4KYQFUosQcg89uvSeBoI1JoC9mJPAX86da58XrwtRevW"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="《龙腾万里》RR69" title="《龙腾万里》RR69"></a>
P粉1455438722024-04-07 16:37:43
Yes, you can do it your way. Another way is to read the version
from the package.json fileimport {version} from './package.json';
and use it in your About page.