Skip to content
forked from zce/dashboard

A dashboard scaffolding based on vue.js, inspired by vuejs-templates/webpack.

License

Notifications You must be signed in to change notification settings

xxzxx/dashboard

 
 

Repository files navigation

Dashboard

Build Status Dependency Status devDependency Status Code Style

A dashboard scaffolding based on vue.js inspired by vuejs-templates/webpack.

Online demo

http://dashboard.micua.com

  • username: admin
  • password: password

Environment

Stacks

Clone Repo

# clone
$ git clone https://github.com/zce/dashboard.git

# submodule
$ git submodule init && git submodule update

Build Setup

# install dependencies
$ npm install

# serve with hot reload at http://localhost:2017
$ npm run dev

# build for production with minification
$ npm run build

# build for production and view the bundle analyzer report
$ npm run build --report

# build for production and deploy to gh-pages
$ npm run deploy

or yarn

# install dependencies
$ yarn

# serve with hot reload at http://localhost:2017
$ yarn dev

# build for production with minification
$ yarn build

# build for production and view the bundle analyzer report
$ npm_config_report=true yarn build
# Windows
$ set npm_config_report=true yarn build

# build for production and deploy to gh-pages
$ yarn deploy

Todos

  • Restructure config file
  • Remove unused package
  • Try iView UI
  • Element UI theme
  • All pages structure
  • Mock || JSON Server
  • Global state
  • Login module
  • Options module
  • Users module
  • Media module
  • Posts module
  • Terms module
  • Comments module
  • Other module
  • Config package

Link

Packages

yarn add element-ui nprogress vue vue-i18n vue-resource vue-router vuex vuex-router-sync -S
yarn add autoprefixer babel-core babel-eslint babel-loader babel-plugin-transform-runtime babel-preset-env babel-preset-stage-2 chalk compression-webpack-plugin connect-history-api-fallback copy-webpack-plugin css-loader eslint eslint-config-standard eslint-friendly-formatter eslint-loader eslint-plugin-html eslint-plugin-promise eslint-plugin-standard eventsource-polyfill express extract-text-webpack-plugin file-loader friendly-errors-webpack-plugin html-webpack-plugin http-proxy-middleware node-sass opn optimize-css-assets-webpack-plugin ora rimraf sass-loader semver url-loader vue-loader vue-style-loader vue-template-compiler webpack webpack-bundle-analyzer webpack-dev-middleware webpack-hot-middleware -D

License

MIT © 汪磊 & WEDN.NET

About

A dashboard scaffolding based on vue.js, inspired by vuejs-templates/webpack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 45.3%
  • JavaScript 27.5%
  • Vue 26.6%
  • HTML 0.6%