安装NProgress 进度条
npm install nprogress --save-dev
在vue项目中mian.js中或router.js或axios.js:
import NProgress from 'nprogress'
import 'nprogress/nprogress.css'
使用NProgress进度条
NProgress.start(); :进度条开始;
NProgress.done(); :进度条结束;
// 进度条开始
NProgress.start();
// 进度条结束
NProgress.done();
v-model="" 来绑定富文本编辑器的文本数据源
更多使用属性参考vue-quill-editor的官方文档
nprogress - npmSimple slim progress bars. Latest version: 0.2.0, last published: 8 years ago. Start using nprogress in your project by running `npm i nprogress`. There are 2119 other projects in the npm registry using nprogress.https://www.npmjs.com/package/nprogress