ionic开发-浏览器环境下如何使用本地插件
发表于
更新于
本文字数:
1.5k
阅读时长 ≈
2 分钟
本文是作者对ionic开发-浏览器环境下如何使用本地插件的介绍,包括ionic开发-浏览器环境下如何使用本地插件的优势、实现细节、相关资料等,这些步骤可以帮助作者提高ionic开发-浏览器环境下如何使用本地插件的效率。
ionic cli v3 发布
发表于
更新于
本文字数:
2k
阅读时长 ≈
3 分钟
本文是作者对ionic cli v3 发布的介绍,包括ionic cli v3 发布的优势、实现细节、相关资料等,这些步骤可以帮助作者提高ionic cli v3 发布的效率。
英文原版
大家好,很高兴的宣布,ionic cli v3版现在可以使用啦!
自从我们发布CLI v3 Beta版和我们的彩蛋,我们已经见证了众多的早期Beta测试者在他们的ionic项目中成功的使用。这些测试者提供了大量的反馈,当然也有机会中奖。事实上,他们中的许多人几个小时内就找到了其中的彩蛋。尤其最近,当开发者在我们上周举办的编程马拉松中成为了Ionic Jedi Hacksters,我们获得了更多的回馈
(编程马拉松战绩在这里)除了版本改变外,什么使得这个CLI这么特别呢,让我们看下这版CLI的几个关键点吧。
除了版本变化,这版的CLI特殊在哪呢,我们看下以下几个关键点吧:
速度+指南
你可能会留意到这版CLI的安装是如此之快,部分原因是在消除了超过90MB的依赖和成千上万行的旧程序code!如今,当你安装CLI的时候,你会得到更小的空间占用,安装时间也会更短。所以,CLI的速度和表现是我们主要考虑点之一。
另一个考虑点是我们要提供更多的帮助、指南和反馈。大量的命令现在提供所需的交互信息,CLI试图在问题出来时,能够是有用的,有效的。命令帮助已经提升。
仅仅加上--help
参数到任意的命令上,就可以得到详细的输入信息和参数信息。我们也提供普通使用的样例信息,比如试下下面的这句命令ionic start --help
Linux常用命令
发表于
更新于
本文字数:
4.4k
阅读时长 ≈
7 分钟
本文是作者对Linux常用命令的介绍,包括Linux常用命令的优势、实现细节、相关资料等,这些步骤可以帮助作者提高Linux常用命令的效率。
webpack构建打包中文件hash值不变但内容的确有变化问题分析及解决
发表于
更新于
本文字数:
1.9k
阅读时长 ≈
3 分钟
本文是作者对webpack构建打包中文件hash值不变但内容的确有变化问题分析及解决的介绍,包括webpack构建打包中文件hash值不变但内容的确有变化问题分析及解决的优势、实现细节、相关资料等,这些步骤可以帮助作者提高webpack构建打包中文件hash值不变但内容的确有变化问题分析及解决的效率。
在利用webpack2作为构建工具打包Angular4时,出现一个问题就是有两个文件打包出来的哈希值不变。
文件如下:
1 | 'common': './node_modules/moment/moment.js', |
这两个文件,一个是服务于moment这个时间类库,一个是服务于处理SPA应用的浏览器兼容性问题,这两个文件,在webpack配置文件中我的配置方式如下
1 | /** |