1.目录

2.内容 -Loading.vue

<template>
<div class="loading">
loading...
</div>
</template>

  

2.内容 -index.js

import MyLoading from './Loading.vue'
const Loading = {
install: function(Vue){
Vue.component('Loading',MyLoading)
}
}
export default Loading

3.引入-main.js

import Loading from '@componentUtils/loading/index.js'//全局组件
Vue.use(Loading);

4.使用

 <Loading></Loading>

5.end

最新文章

  1. Web jquery表格组件 JQGrid 的使用 - 全部代码
  2. .net core 跨平台实践
  3. em 和 px相互转换
  4. oracle服务介绍
  5. Android 6.0 闪光灯的使用
  6. sass安装步骤
  7. Unity 类似FingerGestures 的相机跟随功能
  8. Adobe After Effects 2017-14.0安装教程
  9. SOFA 源码分析 — 链路数据透传
  10. scrollview嵌套下拉控件嵌套recyclerview(不动第三方原基础自定义)
  11. springboot热部署配置
  12. eclipse svn合并小结
  13. A1119. Pre- and Post-order Traversals
  14. Matlab远程调试 转
  15. Java第04次实验提纲(面向对象2-继承、多态、抽象类与接口)
  16. (转)预处器的对比——Sass、LESS和Stylus
  17. 在window的cmd窗口下运行linux命令
  18. GNU C中的零长度数组
  19. 《linux系统及其编程》实验课记录(五)
  20. elementui raido 单选框 循环渲染加:key

热门文章

  1. FCC JS基础算法题(0):Reverse a String(翻转字符串)
  2. dos脚本
  3. ipa 注入 dylib
  4. 关于windows下的makefile学习
  5. OneStopEnglish corpus: A new corpus for automatic readability assessment and text simplification-paper
  6. C++调用ffmpeg.exe提取视频帧
  7. MySQL数据库-pymysql模块操作数据库
  8. Linux进程调度与抢占
  9. grep 使用
  10. nginx实现按日期进行日志分割