pk-sgl-sel-dlg
v1.0.0
Published
ProTech Single Select Dialog
Downloads
2
Readme
pk-sgl-sel-dlg
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.npm run build时,启用了css分离,到时候只需要拷贝pkSglSelDlg.js出去就可以了,elemet-ui的css在html中单独引用(方便与其他页面共用) 2.npm run dev时,需要把修改webpack.config.js,不启用css分离,要不然会报错,切记切记 3.props传递的属性名称最好小写,方便html中以script方式引用