gxd-vue

1.1.18 • Public • Published

Gxd-vue

介绍

自定义vue组件功能,已经加载Element ui 无需再次引入Element ui插件,包含gxd-helper工具内函数。无需引入gxd-helper

安装教程

npm install --save gxd-vue --registry=https://registry.npm.taobao.org

开发
# 克隆项目
git clone https://gitee.com/e56buy/xd-vue.git

# 进入项目目录
cd gxd-vue

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --save --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev
使用
# 引入插件

import gxdvue from 'gxd-vue';

#七牛配置项
Vue.use(gxdvue,{
  qiniu: [{
    accoutKey: 'bP3Ca5dtSJBNaWwMkihfhuE30CbAZnYrNzQm6eMN', //七牛AK
    serviceKey: 'pPNgWwRL3_Jlj7cPtpYbkhXn01EOZTtUhOs3NqZM', //七牛SK
    webSiteName: 'e56buystatic', //七牛桶名称
    staticUrl: 'http://static.e56buy.com' //静态域名访问地址
  }]
});

Readme

Keywords

none

Package Sidebar

Install

npm i gxd-vue

Weekly Downloads

52

Version

1.1.18

License

none

Unpacked Size

2.57 MB

Total Files

41

Last publish

Collaborators

  • gaoshiyong