如何获得离子骨架的版本? [英] How to get the version of ionic framework?

查看:66
本文介绍了如何获得离子骨架的版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何检查ionic的版本.如果我执行ionic -v,我会返回1.4.3

I wonder how to check the version of ionic. If I do ionic -v I get back 1.4.3

可以吗? 1.0.0刚发布吗?

Can that be? Wasn't 1.0.0 just released?

推荐答案

这是Ionic CLI的版本号,与Ionic库的版本号不同.这是检查版本的几种简单方法.

That is the version number of the Ionic CLI, which is different from the version number of Ionic's library. Here are a couple easy ways to check the version.

在浏览器控制台中,您可以运行ionic.version,它将在控制台中显示它是哪个版本.

In the browser console, you can run ionic.version and it will print to the console what version it is.

您还可以在应用程序中查看bower.json文件,它会显示版本号,如您在此处看到的那样. https://github.com/ionic-in-action /chapter5/blob/master/bower.json#L5

You can also look at the bower.json file in your app, and it will show the version number like you see here. https://github.com/ionic-in-action/chapter5/blob/master/bower.json#L5

这篇关于如何获得离子骨架的版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆