poetries / poetries.github.io

博客,用于记录学习总结的地方。关注公众号「前端进阶之旅」,一起学习

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue API 盲点解析 | Poetry's Blog

poetries opened this issue · comments

http://blog.poetries.top/2019/06/01/vue-api-analyse/

使用 performance 开启性能追踪 performance API 是 Vue全局配置 API 中的一个,我们可以使用它来进行网页性能的追踪,我们可以在入口文件中添加 123if (process.env.NODE_ENV !== 'production') { Vue.config.performance = true;} 来开启这一功能,该 API(2.2