Giter Site home page Giter Site logo

iview / iview-admin Goto Github PK

View Code? Open in Web Editor NEW
16.4K 627.0 4.9K 59.98 MB

Vue 2.0 admin management system template based on iView

Home Page: https://admin.iviewui.com/

License: MIT License

HTML 0.22% Vue 60.42% JavaScript 31.78% CSS 7.58%
vue iview vue-admin admin-template vuex vue-cli webpack2 admin axios

iview-admin's Introduction

iView Admin

Vue.js 2.0 admin management system template based on iView.

vue iview ui npm

Introduction

iView Admin is a front-end management background integration solution. It based on Vue.js and use the UI Toolkit iView.

image

Features

  • Login / Logout
  • Permission Authentication
    • A list of filters
    • Permission to switch
  • i18n
  • Components
    • Rich Text Editor
    • Markdown Editor
    • City Cascader
    • Photos preview and edit
    • Draggable list
    • File upload
    • Digital gradient
    • split-pane
  • Form
    • The article published
    • Workflow
  • Table
    • Drag-and-drop sort
    • Searchable form
    • Table export data
      • Export to Csv file
      • Export to Xls file
    • Table to picture
  • Error Page
    • 403
    • 404
    • 500
  • Router
    • Dynamic routing
    • With reference page
  • Theme
  • Shrink the sidebar
  • Tag navigation
  • Breadcrumb navigation
  • Full screen / exit full screen
  • Lock screen
  • The message center
  • Personal center

Getting started

# clone the project
git clone https://github.com/iview/iview-admin.git

// install dependencies
npm install

// develop
npm run dev

Build

npm run build

License

MIT

Copyright (c) 2016-present, TalkingData

iview-admin's People

Contributors

baiyutang avatar baoyx007 avatar fengluhome avatar icarusion avatar lison16 avatar madlight-du avatar mijuu avatar sugod avatar twang281314 avatar zhenizhui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

iview-admin's Issues

推荐使用 babel-preset-env

npm install 的时候看到了提示,推荐使用 babel-preset-envbabel-preset-es2015 已经 deprecated 了。

建议:希望增加外链的支持

希望可以菜单支持外链,点击外链效果同正常点击菜单一样,之前尝试过iframe的方式,但无法保存iframe里的点击状态,希望可以在iview-admin中可以解决~

希望加入模态窗

很常见的需求,比如说处理表单的时候,点击查看弹出详情。

消息中心切换问题

当点开某条消息详细信息,再去选择消息类型的时候右边部分不会跳转到对应的消息列表

mac下运行把编译失败

mac,nodev6.10.0,run npm run dev,出现以下报错信息

ERROR in   Error: Child compilation failed:
  Module build failed: SyntaxError: Unexpected token (1:0)
  > 1 | <!DOCTYPE html>
      | ^
    2 | <html lang="zh-CN">
    3 |
    4 | <head>
  :
  BabelLoaderError: SyntaxError: Unexpected token (1:0)
  > 1 | <!DOCTYPE html>
      | ^
    2 | <html lang="zh-CN">
    3 |
    4 | <head>

....

Child html-webpack-plugin for "../index.html":
    chunk    {0} ../index.html 599 bytes [entry]
        [0] ./~/html-webpack-plugin/lib/loader.js!./src/template/index.ejs 599 bytes {0} [built] [failed] [1 error]

    ERROR in ./~/html-webpack-plugin/lib/loader.js!./src/template/index.ejs
    Module build failed: SyntaxError: Unexpected token (1:0)

    > 1 | <!DOCTYPE html>
        | ^
      2 | <html lang="zh-CN">
      3 |
      4 | <head>

npm install 报错

`npm ERR! Linux 4.9.0-deepin12-amd64
npm ERR! argv "/opt/node-v6.10.0-linux-x64/bin/node" "/opt/node-v6.10.0-linux-x64/bin/npm" "install"
npm ERR! node v6.10.0
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: node scripts/build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script 'node scripts/build.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the node-sass package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node scripts/build.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs node-sass
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls node-sass
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/disk/workspace/vue/vue-admin/npm-debug.log`

全屏功能报错

控制台 “Uncaught TypeError: Cannot read property 'requestFullscreen' of null”

希望有英文版

我可以志愿来翻译这个软件。如果你们打算做英文版的话。

npm run build后文件路径好像不对

npm run build后产生的index_prod.html和webpack配置的打包生产的/dist/目录下的文件不对应,这是webpack dev配置有问题嘛,还是我的操作不对呀?

npm run dev报错

ERROR in .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/Main.vue
Module not found: Error: Can't resolve './main_components/tagsPageopened.vue' in '/home/iview-admin/src/views'
@ .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/Main.vue 11:22-69
@ ./src/views/Main.vue
@ ./src/router.js
@ ./src/main.js
@ multi ./~/_webpack-dev-server@2.9.2@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main

ERROR in .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/markdown-editor/markdown-editor.vue
Module not found: Error: Can't resolve 'SimpleMDE' in '/home/iview-admin/src/views/my_components/markdown-editor'
@ .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/markdown-editor/markdown-editor.vue 7:17-37
@ ./src/views/my_components/markdown-editor/markdown-editor.vue
@ ./src/router.js
@ ./src/main.js
@ multi ./~/_webpack-dev-server@2.9.2@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main

ERROR in .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/home/components/countUp.vue
Module not found: Error: Can't resolve 'countUp' in '/home/iview-admin/src/views/home/components'
@ .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/home/components/countUp.vue 7:15-33
@ ./src/views/home/components/countUp.vue
@ .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/home/home.vue
@ ./src/views/home/home.vue
@ ./src/router.js
@ ./src/main.js
@ multi ./~/_webpack-dev-server@2.9.2@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main

ERROR in .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/CountTo.vue
Module not found: Error: Can't resolve 'countUp' in '/home/iview-admin/src/views/my_components/count-to'
@ .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/CountTo.vue 7:15-33
@ ./src/views/my_components/count-to/CountTo.vue
@ .//_babel-loader@6.4.1@babel-loader/lib!.//_vue-loader@11.3.4@vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/count-to.vue
@ ./src/views/my_components/count-to/count-to.vue
@ ./src/router.js
@ ./src/main.js
@ multi ./~/_webpack-dev-server@2.9.2@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main

关于富文本框插件JS异常的问题

git iview-admin包本地起的服务可以正常使用富文本框插件

但是自己用vue脚手架新建一个项目后 利用npm下了同版本的tinymce包
复制avatorEditer.vue到新项目 启动页面的时候直接报错
qq 20171020165918

然后看了下webpack的配置 也暂未发现问题所在
求大神指点 么么哒

工作流

希望可以做一个在线工作流设计器,可以拖拽的那种

建议:增加富文本编辑器中图片、视频的在线上传功能

建议:增加富文本编辑器中图片、视频的在线上传功能,如果可以的话,最好图片视频可以通过配置直接上传到阿里云OSS、七牛、又拍云等外部云上,或者写个教程让我们自己开放也行,这样可以方便资源的统一管理。谢谢大神。

npm run dev 报错

`ERROR in .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/Main.vue
Module not found: Error: Can't resolve './main_components/tagsPageopened.vue' in '/home/disk/workspace/vue/iview-admin/src/views'
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/Main.vue 11:22-69
@ ./src/views/Main.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main

ERROR in .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/markdown-editor/markdown-editor.vue
Module not found: Error: Can't resolve 'SimpleMDE' in '/home/disk/workspace/vue/iview-admin/src/views/my_components/markdown-editor'
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/markdown-editor/markdown-editor.vue 7:17-37
@ ./src/views/my_components/markdown-editor/markdown-editor.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main

ERROR in .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/CountTo.vue
Module not found: Error: Can't resolve 'countUp' in '/home/disk/workspace/vue/iview-admin/src/views/my_components/count-to'
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/CountTo.vue 7:15-33
@ ./src/views/my_components/count-to/CountTo.vue
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/my_components/count-to/count-to.vue
@ ./src/views/my_components/count-to/count-to.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main

ERROR in .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/home/components/countUp.vue
Module not found: Error: Can't resolve 'countUp' in '/home/disk/workspace/vue/iview-admin/src/views/home/components'
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/home/components/countUp.vue 7:15-33
@ ./src/views/home/components/countUp.vue
@ .//babel-loader/lib!.//vue-loader/lib/selector.js?type=script&index=0!./src/views/home/home.vue
@ ./src/views/home/home.vue
@ ./src/router.js
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main
`

富文本全屏功能bug

在富文本页面点击全屏,会有bug,并且此时回到首页tab,页面无法滚动

运行dev 提示api废弃 我该怎么解决

环境 nodejs 8.7.0 npm 5.4.2

运行dev 报错如下:

(node:22545) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
events.js:182
throw er; // Unhandled 'error' event
^

Error: listen EADDRNOTAVAIL 172.16.52.134:8080
at Object._errnoException (util.js:1021:11)
at _exceptionWithHostPort (util.js:1043:20)
at Server.setupListenHandle [as _listen2] (net.js:1327:19)
at listenInCluster (net.js:1385:12)
at GetAddrInfoReqWrap.doListen [as callback] (net.js:1494:7)
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:100:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] dev: webpack-dev-server --content-base ./ --open --inline --hot --compress --history-api-fallback --config build/webpack.dev.config.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/leemuzi/.npm/_logs/2017-10-19T06_07_11_265Z-debug.log

safari富文本编辑器问题

safari 下 富文本编辑器 编辑、插入、视图、格式、表格 这个几个按钮有 bug, 点击的时候会出一层遮罩,把最上面和右边的菜单盖住一部分

IE不支持

系统:win 10
浏览器:IE 11
因为IE浏览器不支持Promise,所以有这个问题;

{description: "“Promise”未定义", message: "“Promise”未定义", name: "ReferenceEr...", number: -2146823279, stack: "ReferenceEr...", Symbol()_h.12o7nyldnb0: undefined, Symbol(react.element)_i.12o7nyldnb0: undefined}

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.