Coder Social home page Coder Social logo

vue-admin's Introduction

vue 后台管理模板-纯净版

描述

参考原版 vue-typescript-admin-template 重写的一个超轻量的模板(typescript+element-ui),只保留了核心功能layoutvue-routersvg-icon路由权限管理。主要是想提供一个项目体积更小、可根据实际情况更自由地扩展的一套中后台管理基础模板。

部分模块说明

  1. http请求 这里我使用的是根据个人习惯用原生写的ajax参考地址), 可根据自己喜好可以扩展 axios 这类型第三方库。

  2. vuex 的使用方式我换成了更好的代码提示追踪和更少的代码实现方式,参考 你不需要vuex

  3. layout 特别说明:组件代码部分基本重写、代码会比原作者的更少、代码提示更直观、功能效果和原版保持一致。

  4. 图表富文本编辑Excel等一些扩展根据自己项目选择喜欢的导入使用,终于不用每次npm run servenpm run build的时候等半天了,我这个快得一匹。

后续 vue-3.0 正式发布后会继续更新多一套

项目用到的依赖

{
	"dependencies": {
        "core-js": "^3.4.4",
        "element-ui": "^2.13.0",
        "nprogress": "^0.2.0",
        "save-dev": "0.0.1-security",
        "vue": "^2.6.10",
        "vue-class-component": "^7.0.2",
        "vue-property-decorator": "^8.3.0",
        "vue-router": "^3.1.3"
    },
	"devDependencies": {
        "@types/node": "^13.1.4",
        "@types/nprogress": "^0.2.0",
        "@vue/cli-plugin-babel": "^4.1.0",
        "@vue/cli-plugin-router": "^4.0.5",
        "@vue/cli-plugin-typescript": "^4.1.0",
        "@vue/cli-service": "^4.1.0",
        "node-sass": "^4.13.0",
        "sass-loader": "^8.0.0",
        "svg-sprite-loader": "^4.1.6",
        "typescript": "~3.5.3",
        "vue-template-compiler": "^2.6.10"
    },
}

参考文档(其实看我代码注释就够了)

原版文档

掘金介绍

预览地址

demo

vue-admin's People

Contributors

travis-hjs avatar

Watchers

James Cloos avatar

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.