如何使用Angular,Ionic&电容器
I used the following pugin: cordova-plugin-app-version, to get the version of my app and displayed it into my html file.
But I did the migration to Capacitor and cannot find the way to do that with it.
Does somebody find a solution ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以轻松地将其导入.TS文件。
然后,您可以访问软件包中的所有属性
。
You can easily import it in your .ts file.
Then you have access to all the properties in your package.json:
Then you can display it in your HTML: