# ky-chat

> A ky chat project

## 注意事项
如果把这个项目当成组件在另一个项目使用，那么要求另一个项目必须引用element ui组件库

## Build Setup

``` bash
# 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
```

For a detailed explanation on how things work, check out the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).

## 发布npm注意事项
把package.json，的main值换成src/index.js

## 打包成electron可执行文件注意事项
把package.json,的main值换成.electron.js

## vue项目打包注意事项
把config/index.js下的build属性里的assetsPublicPath写成绝对路径,不然会找不到图标

## electron打包注意事项
把config/index.js下的build属性里的assetsPublicPath写成相对路径,不然会找不到图标

