toast-vue-npm
v2.0.3
Published
An ui project base on Vue.js
Downloads
34
Readme
toast-vue
An ui project base on Vue.js
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
效果图如下
使用方法: main.js import ToastUI from 'toast-vue-npm' Vue.use(ToastUI)
在页面直接调用 this.$toast({ msg: '成功提示', type: 'success' })