JS
文章平均质量分 53
zow
there is no one i would rather be than me
展开
-
JS 异常捕获与处理
try { throw "wrong....warning...."; } catch (e) { alert("get error :" + e); } finally { alert("i done!"); }原创 2017-11-02 10:17:59 · 813 阅读 · 0 评论 -
Vue插件介绍
vue有自己的脚手架构建工具vue-cli,使用起来非常方便,使用webpack来集成各种开发便捷工具,比如: 代码热更新,修改代码之后网页无刷新改变,对前端开发来说非常的方便 1.PostCss,再也不用去管兼容性的问题了,只针对chrome写css代码,会自动编译生成支持多款浏览器的css代码 2.Eslint,统一代码风格,规避低级错误. 3.bable,ES2015出来已经有一段时间...原创 2019-01-22 11:18:59 · 552 阅读 · 0 评论