# vuetify-message **Repository Path**: fxyl_cyanine/vuetify-message ## Basic Information - **Project Name**: vuetify-message - **Description**: vuetify+ts下的全局弹窗插件 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-08-23 - **Last Updated**: 2024-03-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #### Usage ##### 1. Install ``` npm install ca-vuetify-message ``` ##### 2. Use In main.js: ``` import message from "ca-vuetify-message"; Vue.use(message, { verticalOffset: number, // 初始弹出位置(垂直) position: "left" | "center" | "right", // 弹出位置(水平) flat: boolean, // 是否具有阴影 width: string | number // 弹窗宽度 }); ``` In any other script files: ``` this.$message({ type: "success" | "error" | "warning" | info, message: string, callback?: Function }); ```