GithubHelp home page GithubHelp logo

yuluqqvip / basic Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fx336494/admin_v1

0.0 0.0 0.0 1.76 MB

一个yii2 + vue 的后台权限管理系统,完善的rbac管理,拿来即用,适合新项目

License: BSD 3-Clause "New" or "Revised" License

PHP 46.14% CSS 2.59% Batchfile 0.50% Shell 1.63% JavaScript 12.82% HTML 0.23% Vue 36.10%

basic's Introduction

一个 yii2 + vue的 后台权限管理系统。 这个是一个简单的基础版,里面只有权限管理,不涉及其它的内容 非常适合新开始的项目。

前端代码 在vueadmin里面,借鉴了vue-manage-system,但只用了他的架子 ,里面的内容都去了。 如果需要可以在github上找到这个项目。

安装步骤

git 安装(推荐)

git clone https://github.com/FX336494/admin_v1.git
进入目录
cd admin_v1

composer安装依赖 (没有安装composer的自行安装)
composer install
完成之后 ,将web/data 下面的sql文件导入数据库,后端即搭建完成。

前端配置 本地开发##

cd vueadmin    // 进入前端项目目录
npm install    // 安装项目依赖,等待安装完成
// 开启服务器,浏览器访问 http://localhost:8080
npm run dev

构建生产

// 执行构建命令,生成的dist文件夹放在服务器下即可访问
npm run build    

后端用的是yii2,非常强大的框架,扩展性强。将域名指定apiadmin/web下,做为后台请求接口域名。 将web/data/sql文件导入你建好的库中即可。

vue路由不需要在前端文件中添加,只需要在菜单操作处,将路由信息添加到数据库即可。登录之后会进行路由的动态挂载。 每次添加新菜单或是路由,需要重新登录才会生效。

##效果图## Image text Image text Image text Image text Image text

赞赏

如果你觉得帮助到了你,可以请作者喝杯咖啡!!

微信扫一扫

basic's People

Contributors

fx336494 avatar gghtrt520 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.