/el-dialog

About el-dialog solution

Primary LanguageJavaScript

demo

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

# build for production and view the bundle analyzer report
npm run build --report
# dialog.js在libs文件夹下,当组件需要使用弹窗的时候,需要相应的引入dialog,所以个人建议,如果是在项目开发中,可以将dialog放在全局定义的方法里面,然后再mian.js里面引用全局定义的方法,便于使用。

For a detailed explanation on how things work, check out the guide and docs for vue-loader.