1.0.5 • Published 3 years ago

th-vue-notification v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

消息通知

文档

  • 项目引用

npm i element-ui -S npm i th-vue-notification -S

  import ThVueNotification from 'th-vue-notification'
  import 'th-vue-notification/lib/th-vue-notification.css'

  Vue.use(ThVueNotification)

一、指令说明

# 安装依赖
npm run pre

# 启动DEMO开发模式
npm run dev

# 打包组件
npm run build

# 发布(npm adduser && npm login)
npm run deploy

二、使用方法

通过jquery异步加载页面的方式载入index.html页面

<head>
  <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
</head>
<body>
  <div id="top-header"></div>
  <script>
    $(document).ready(function(){
      $("#top-header").load("index.html");
    })
  </script>
</body>
1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago