diff --git a/README.md b/README.md index 2f7d09244248edce9050f743bbd7ded054d92d63..5be72fdf4e2acbdf5a318af8ae38e5d26b54d115 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,46 @@ -# manage-system +前言 -> A Vue.js project +这个解决方案适合什么场景,为什么采用这个解决方案,有什么有点与缺点,后续扩展与维护,自己想说点什么就说什么。 -## Build Setup +1、目录结构介绍 -``` bash -# install dependencies -npm install +2、安装步骤 -# serve with hot reload at localhost:8080 -npm run dev +3、组件使用说明与演示 -# build for production with minification -npm run build +4、调试部署上传 -# build for production and view the bundle analyzer report -npm run build --report -``` +5、单元测试(可选) -For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). +6、其他注意事项 + +表格 + +基础表格 + +Datatable + +参考 Datatable中文网 + +表单 + +基本表单 + +编辑器 + +可以参考富文本编辑器markdow支持组件 Laverna https://laverna.cc/index.html + +文件上传 + +上传组件使用webuploader http://fex.baidu.com/webuploader/getting-started.html + +图片裁剪 + +日期控件 + +UI元素 + +弹出框alert +确认框confirm +提示框 +树形图 diff --git a/package.json b/package.json index 5ddbad34d6157fa87a58a310dc072e37d3ed25b0..ad1ad1babb289807a90e465010094b0a552c9756 100644 --- a/package.json +++ b/package.json @@ -1,53 +1,54 @@ { - "name": "manage-system", - "version": "1.0.0", - "description": "基于Vue.js 2.x系列 + element-ui 内容管理系统解决方案", - "author": "lin-xin <2981207131@qq.com>", - "private": true, - "scripts": { - "dev": "node build/dev-server.js", - "build": "node build/build.js" - }, - "dependencies": { - "element-ui": "^1.1.6", - "vue": "^2.1.10", - "vue-router": "^2.2.0" - }, - "devDependencies": { - "autoprefixer": "^6.7.2", - "babel-core": "^6.22.1", - "babel-loader": "^6.2.10", - "babel-plugin-transform-runtime": "^6.22.0", - "babel-preset-es2015": "^6.22.0", - "babel-preset-stage-2": "^6.22.0", - "babel-register": "^6.22.0", - "chalk": "^1.1.3", - "connect-history-api-fallback": "^1.3.0", - "css-loader": "^0.26.1", - "eventsource-polyfill": "^0.9.6", - "express": "^4.14.1", - "extract-text-webpack-plugin": "^2.0.0-rc.2", - "file-loader": "^0.10.0", - "friendly-errors-webpack-plugin": "^1.1.3", - "function-bind": "^1.1.0", - "html-webpack-plugin": "^2.28.0", - "http-proxy-middleware": "^0.17.3", - "webpack-bundle-analyzer": "^2.2.1", - "semver": "^5.3.0", - "opn": "^4.0.2", - "ora": "^1.1.0", - "shelljs": "^0.7.6", - "url-loader": "^0.5.7", - "vue-loader": "^10.3.0", - "vue-style-loader": "^2.0.0", - "vue-template-compiler": "^2.1.10", - "webpack": "^2.2.1", - "webpack-dev-middleware": "^1.10.0", - "webpack-hot-middleware": "^2.16.1", - "webpack-merge": "^2.6.1" - }, - "engines": { - "node": ">= 4.0.0", - "npm": ">= 3.0.0" - } + "name": "manage-system", + "version": "1.0.0", + "description": "基于Vue.js 2.x系列 + element-ui 内容管理系统解决方案", + "author": "lin-xin <2981207131@qq.com>", + "private": true, + "scripts": { + "dev": "node build/dev-server.js", + "build": "node build/build.js" + }, + "dependencies": { + "element-ui": "^1.1.6", + "vue": "^2.1.10", + "vue-router": "^2.2.0", + "vue-tables-2": "^0.4.33" + }, + "devDependencies": { + "autoprefixer": "^6.7.2", + "babel-core": "^6.22.1", + "babel-loader": "^6.2.10", + "babel-plugin-transform-runtime": "^6.22.0", + "babel-preset-es2015": "^6.22.0", + "babel-preset-stage-2": "^6.22.0", + "babel-register": "^6.22.0", + "chalk": "^1.1.3", + "connect-history-api-fallback": "^1.3.0", + "css-loader": "^0.26.1", + "eventsource-polyfill": "^0.9.6", + "express": "^4.14.1", + "extract-text-webpack-plugin": "^2.0.0-rc.2", + "file-loader": "^0.10.0", + "friendly-errors-webpack-plugin": "^1.1.3", + "function-bind": "^1.1.0", + "html-webpack-plugin": "^2.28.0", + "http-proxy-middleware": "^0.17.3", + "opn": "^4.0.2", + "ora": "^1.1.0", + "semver": "^5.3.0", + "shelljs": "^0.7.6", + "url-loader": "^0.5.7", + "vue-loader": "^10.3.0", + "vue-style-loader": "^2.0.0", + "vue-template-compiler": "^2.1.10", + "webpack": "^2.2.1", + "webpack-bundle-analyzer": "^2.2.1", + "webpack-dev-middleware": "^1.10.0", + "webpack-hot-middleware": "^2.16.1", + "webpack-merge": "^2.6.1" + }, + "engines": { + "node": ">= 4.0.0", + "npm": ">= 3.0.0" + } } diff --git a/src/components/common/sidebar.vue b/src/components/common/sidebar.vue index 7fe3700a394102a38a8b9f23ff8b8fd1b365f8b7..e3ffc54549193b88b38e498350515aa3d4d9d694 100644 --- a/src/components/common/sidebar.vue +++ b/src/components/common/sidebar.vue @@ -1,14 +1,14 @@ - +