Code Monkey home page Code Monkey logo

operation-demo's Introduction

operation-demo

后台管理系统模板 预览

功能简述

  1. 主界面包含: 登录页面;首页;用户管理(用户资产查询、用户日志查询、用户管理);系统管理(分组权限管理、APP版本管理、后台账号管理、权限分配、修改密码)。
  2. 主功能包含: 本地mock数据;登录跳转;导航栏菜单伸缩;表单校验中文提示;列表查询的常用布局;弹窗的父子组件传值;树组件、嵌套列表的使用。

项目结构

.
├── README.md  ------------------------ 说明文件
├── package.json  --------------------- 项目配置
├── vue.config.js  -------------------- webpack配置入口
├── public  --------------------------- 入口文件
├──   ├── favicon.ico  ---------------- 网页图标
├──   └── index.html  ----------------- 入口页面
└── src  ------------------------------ 源码目录
    ├── assets  ----------------------- 项目资源文件目录(图片、字体等)
    ├── components  ------------------- 业务模块集合目录(组件)
    ├── js ---------------------------- 全局变量
    ├──  ├── fetch  ------------------- 请求配置 (axios ajax配置管理文件)
    ├──  ├── formatters  -------------- 数据格式化配置
    ├──  ├── mocks  ------------------- 本地mock数据
    ├──  └── veeValidate -------------- 表单校验配置
    ├── views  ------------------------ 页面集合目录
    ├── App.less  --------------------- 主样式
    ├── App.vue  ---------------------- 主组件
    ├── main.js  ---------------------- 项目级入口配置文件
    └── router.js  -------------------- 路由配置

环境准备

# 推荐使用yarn管理依赖
npm i yarn -g
yarn config set registry htts://registry.npm.taobao.org

# 安装依赖
yarn install

# 启动本地调试
yarn dev

# 打包压缩
yarn build

# eslint格式校验
yarn lint

所需技术栈

友情提示

  1. 如果vee-validate在项目运行时报错,请重新安装旧版本,操作如下:
  1. 路由模式变更,操作如下:
  • router.js -> 路由切换history模式去URL中的#号,mode: 'history'
  • vue.config.js -> 注释掉baseUrl: process.env.NODE_ENV === 'production' ? './' : '/'即可

operation-demo's People

Contributors

fifteen718 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

asd12l dongwenwu

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.