摘要: 1、安装 1 $ npm install --save nprogress 或者 2 $ yarn add nprogress 3 4 //用法 5 NProgress.start(); 6 NProgress.done(); 2、使用 1.在main.js中引入 2.在main.js再进行配置进度 阅读全文
posted @ 2020-09-21 16:49 30Curry 阅读(275) 评论(3) 推荐(0) 编辑
摘要: 1.在命令行中写入 npm install babel-plugin-transform-remove-console --save-dev 2.在.babelrc文件中写入 // without options { "plugins": ["transform-remove-console"] } 阅读全文
posted @ 2020-09-21 16:25 30Curry 阅读(365) 评论(0) 推荐(0) 编辑