1.0.0 • Published 6 years ago
vue-toast-plugin-anzh v1.0.0
vue-toast-plugin
main.js 引入
import VueToastPlugin from 'vue-toast-plugin' Vue.use(VueToastPlugin)
Vue文件使用 toast 使用
<div>toast</div>
</VueToastPlugin>
alert使用
<div>alert</div>
</VueToastPlugin>
confirm 使用
<div>confirm</div>
A Vue.js project
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, consult the docs for vue-loader.
1.0.0
6 years ago