Skip to content

upgrate the webpack version to 3.6.0 and element version to 2.1.0 and… #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 41 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
c3ba81e
upgrate the webpack version to 3.6.0 and element version to 2.1.0 and…
xiaolu289 Feb 2, 2018
8aa22f5
update readme
xiaolu289 Feb 2, 2018
936f499
update readme
xiaolu289 Feb 2, 2018
25dc01a
complicate the leftMenu.vue component by element-menu
xiaolu289 Feb 2, 2018
6363896
optimizing leftMenu
xiaolu289 Feb 2, 2018
85a2655
Merge branch 'dev'
xiaolu289 Feb 2, 2018
6bfc00e
finish the leftMenu and fix some bug
xiaolu289 Feb 6, 2018
6b4b9cf
update
xiaolu289 Feb 9, 2018
422e100
fix some bug in the menu : the menu has not the scroll bar
xiaolu289 Feb 9, 2018
33eaabc
update
xiaolu289 Feb 9, 2018
1414a21
update
xiaolu289 Feb 9, 2018
8f8a99c
update
xiaolu289 Feb 9, 2018
7e8f34b
update
xiaolu289 Feb 9, 2018
08f5afa
update
xiaolu289 Feb 9, 2018
b1a5a45
modifying the auth
xiaolu289 Feb 11, 2018
9452c60
fix the menu bug and the cache in server side
xiaolu289 Feb 12, 2018
ed2a51b
Merge branch 'dev'
xiaolu289 Feb 12, 2018
4c2c8a4
update the route
xiaolu289 Feb 12, 2018
871f12e
update composer.json
xiaolu289 Feb 12, 2018
dd9160c
fix the bug : displaying all operation button when the user didn't ha…
xiaolu289 Feb 13, 2018
dd39c2d
update
xiaolu289 Feb 13, 2018
4283ab0
update
xiaolu289 Feb 13, 2018
08ab0f9
upload jwt
xiaolu289 Feb 13, 2018
c2c0c57
update the style
xiaolu289 Feb 13, 2018
5eb8c26
update composer
xiaolu289 Feb 13, 2018
d8bcc6d
update readme
xiaolu289 Feb 13, 2018
c612d32
update readme
xiaolu289 Feb 13, 2018
1638036
update style
xiaolu289 Feb 13, 2018
868e143
delet the loading when the route change
Feb 22, 2018
51cee56
delete the loading when the route change
xiaolu289 Feb 13, 2018
9279e2f
update
xiaolu289 Feb 22, 2018
c0ef746
Merge branch 'master' of github.com:xiaolu289/VueThink
xiaolu289 Feb 22, 2018
fe9f5c8
fix the bug : the passwd cannot modify
xiaolu289 Feb 22, 2018
b6fb02b
update online demo
xiaolu289 Feb 22, 2018
02030dc
update
xiaolu289 Feb 22, 2018
952e725
update
xiaolu289 Feb 22, 2018
40b482a
fix the bug in the menu when we add or edit data
xiaolu289 Feb 26, 2018
7f68255
modify the style about content
xiaolu289 Feb 26, 2018
fa037fa
optimize the structure
xiaolu289 Feb 26, 2018
326783c
update the comment
xiaolu289 Feb 26, 2018
ae512ab
move to :https://github.com/xiaolu289/vue-think
xiaolu289 Feb 28, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
107 changes: 3 additions & 104 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,106 +1,5 @@
VueThink
vue-think
===============

## 项目介绍
VueThink是一套基于Vue全家桶(Vue2.x + Vue-router2.x + Vuex)+ Thinkphp的前后端分离框架。
脚手架构建也可以通过vue官方的vue-cli脚手架工具构建
实现了一般后台所需要的功能模块

VueThink不仅适用于管理后台或管理系统开发,且广泛适用于B/S架构的项目开发。VueThink是对前后端分离技术的应用实践,2016年由洪睿科技的技术团队研发并投入商业开发使用,已有许多的商业项目实践。而今框架开源,希望能有更多志同道合的伙伴参与VueThink的迭代 ^_^

## 使用许可:
VueThink是基于MIT协议的开源框架,它完全免费。你可以免费下载VueThink,用来搭建自己的或者团体的软件。

##主要适用技术栈
* 后端框架:ThinkPHP 5.x
* 前端MVVM框架:Vue.JS 2.x
* 开发工作流:Webpack 1.x
* 路由:Vue-Router 2.x
* 数据交互:Axios
* 代码风格检测:Eslint
* UI框架:Element-UI 1.1.6
* JS函数库:Lodash

> VueThink的运行环境要求PHP5.4以上。

详细开发文档参考 [ThinkPHP5完全开发手册](http://www.kancloud.cn/manual/thinkphp5)


* 登录、退出登录
* 修改密码、记住密码
* 菜单管理
* 系统参数
* 权限节点
* 岗位管理
* 部门管理
* 用户组管理
* 用户管理

### Demo
演示地址:<http://demo.vuethink.com>

用户名:user01

密码:user01

### QQ群交流
欢迎加入qq群:340506819

### 开发依赖
* vue <https://vuefe.cn/v2/guide/>
* [email protected] <http://element.eleme.io/1.1/#/zh-CN/component/installation>
* axios <https://github.com/mzabriskie/axios>
* fontawesome <http://fontawesome.io/icons/>
* js-cookie <https://github.com/js-cookie/js-cookie>
* lockr <https://github.com/tsironis/lockr>
* lodash <http://lodashjs.com/docs/>
* moment <http://momentjs.cn/>


### 数据交互
数据交互通过axios以及RESTful架构来实现

用户校验通过登录返回的auth_key放在header

值得注意的一点是:跨域的情况下,会有预请求OPTION的情况

附上接口文档:<http://api.vuethink.com>

### Server搭建
服务端使用的框架为thinkphp5.搭建前请确保拥有lamp/lnmp/wamp环境。

集成环境推荐使用phpstudy:<http://www.phpstudy.net/>

这里所说的搭建其实就是把server框架放入WEB运行环境,并使用80端口。

导入服务端根文件夹数据库文件install.sql,(数据库内用户表账号admin,密码123456)并修改config/database.php配置文件。

* PHP >= 5.4.0
* PDO PHP Extension
* MBstring PHP Extension
* CURL PHP Extension

服务端开发手册请参考:<http://www.kancloud.cn/manual/thinkphp5/118003>

当访问 <http://localhost>, 出现“vuethink接口”即代表后端接口搭建成功。

p.s 如果使用的nginx服务,请设置重写规则
```
location / {

if (!-e $request_filename) {

rewrite ^(.*)$ /index.php?s=$1 last;

break;

}
}
```


### 前端搭建
```
请参考frontEnd里的README文件
```
## 特别注意
为了方便大家给项目提issue已经将项目已经迁移至:https://github.com/xiaolu289/vue-think

5 changes: 0 additions & 5 deletions frontEnd/.babelrc

This file was deleted.

22 changes: 0 additions & 22 deletions frontEnd/.eslintrc.json

This file was deleted.

55 changes: 0 additions & 55 deletions frontEnd/README.md

This file was deleted.

36 changes: 0 additions & 36 deletions frontEnd/build/build.js

This file was deleted.

45 changes: 0 additions & 45 deletions frontEnd/build/check-versions.js

This file was deleted.

9 changes: 0 additions & 9 deletions frontEnd/build/dev-client.js

This file was deleted.

68 changes: 0 additions & 68 deletions frontEnd/build/dev-server.js

This file was deleted.

Loading