forked from elunez/eladmin-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from elunez/master
同步代码
- Loading branch information
Showing
417 changed files
with
14,124 additions
and
8,360 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# http://editorconfig.org | ||
# https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
ENV = 'development' | ||
|
||
# 接口地址 | ||
VUE_APP_BASE_API = 'http://localhost:8000' | ||
VUE_APP_WS_API = 'ws://localhost:8000' | ||
|
||
# 是否启用 babel-plugin-dynamic-import-node插件 | ||
VUE_CLI_BABEL_TRANSPILE_MODULES = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
ENV = 'production' | ||
|
||
# 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http | ||
VUE_APP_BASE_API = 'https://api.auauz.net' | ||
# 如果接口是 http 形式, wss 需要改为 ws | ||
VUE_APP_WS_API = 'wss://api.auauz.net' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
build/*.js | ||
config/*.js | ||
src/assets | ||
public | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
language: node_js | ||
node_js: stable | ||
node_js: 10 | ||
script: npm run test | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,66 @@ | ||
# eladmin-qt | ||
# ELADMIN-WEB | ||
|
||
eladmin 前端源码 | ||
ELADMIN 前端源码 | ||
|
||
#### 后端源码 | ||
- 码云: [https://gitee.com/elunez/eladmin](https://gitee.com/elunez/eladmin) | ||
- github: [https://github.com/elunez/eladmin](https://github.com/elunez/eladmin) | ||
#### 项目源码 | ||
|
||
#### eladmin开发文档 | ||
[http://docs.auauz.net/#/](http://docs.auauz.net/#/) | ||
| | 后端源码 | 前端源码 | | ||
|--- |--- | --- | | ||
| github | https://github.com/elunez/eladmin | https://github.com/elunez/eladmin-web | | ||
| 码云 | https://gitee.com/elunez/eladmin | https://gitee.com/elunez/eladmin-web | | ||
|
||
## Build Setup | ||
#### 开发文档 | ||
[https://el-admin.vip](https://el-admin.vip) | ||
|
||
#### 前端模板 | ||
|
||
初始模板基于: [https://github.com/PanJiaChen/vue-element-admin](https://github.com/PanJiaChen/vue-element-admin) | ||
|
||
模板文档: [https://panjiachen.github.io/vue-element-admin-site/zh/guide/](https://panjiachen.github.io/vue-element-admin-site/zh/guide/) | ||
|
||
#### Build Setup | ||
``` bash | ||
# 配置镜像加速 | ||
https://www.ydyno.com/archives/1219.html | ||
|
||
# 安装依赖 | ||
npm install | ||
|
||
# 启动服务 localhost:8013 | ||
npm run dev | ||
|
||
# 构建生产环境 | ||
npm run build | ||
npm run build:prod | ||
``` | ||
|
||
#### 反馈交流 | ||
#### 常见问题 | ||
|
||
1、linux 系统在安装依赖的时候会出现 node-sass 无法安装的问题 | ||
|
||
解决方案: | ||
``` | ||
1. 单独安装:npm install --unsafe-perm node-sass | ||
2. 直接使用:npm install --unsafe-perm | ||
``` | ||
|
||
- QQ交流群:<a target="_blank" href="//shang.qq.com/wpa/qunwpa?idkey=90830191a40600e3a07acdcc4864890fca50c8e3ca1772e7e288a561d576f6c4"><img border="0" src="//pub.idqqimg.com/wpa/images/group.png" alt="Quella/el-admin" title="Quella/el-admin"></a> | ||
2、加速node-sass安装 | ||
|
||
https://www.ydyno.com/archives/1219.html | ||
|
||
#### 特别鸣谢 | ||
|
||
- 感谢 [JetBrains](https://www.jetbrains.com/) 提供的非商业开源软件开发授权 | ||
|
||
- 感谢 [PanJiaChen](https://github.com/PanJiaChen/vue-element-admin) 大佬提供的前端模板 | ||
|
||
- 感谢 [Moxun](https://github.com/moxun1639) 大佬提供的前端 Curd 通用组件 | ||
|
||
- 感谢 [zhy6599](https://gitee.com/zhy6599) 大佬提供的后端运维管理相关功能 | ||
|
||
- 感谢 [j.yao.SUSE](https://github.com/everhopingandwaiting) 大佬提供的匿名接口与Redis限流等功能 | ||
|
||
- 感谢 [d15801543974](https://github.com/d15801543974) 大佬提供的基于注解的通用查询方式 | ||
|
||
#### 反馈交流 | ||
|
||
- 作者邮箱:[email protected] | ||
- QQ交流群:891137268 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const plugins = ['@vue/babel-plugin-transform-vue-jsx'] | ||
// 生产环境移除console | ||
if (process.env.NODE_ENV === 'production') { | ||
plugins.push('transform-remove-console') | ||
} | ||
module.exports = { | ||
plugins: plugins, | ||
presets: [ | ||
'@vue/app' | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Oops, something went wrong.