Code Monkey home page Code Monkey logo

dumogu-admin's Introduction

毒蘑菇 - 管理

毒蘑菇后台管理,最基础的后台模板

开源地址 https://github.com/wurencaideli/dumogu-admin

线上DEMO https://admin.dumogu.top/

吐槽地址 https://txc.qq.com/products/613546

包含后端服务,前端。前端采用vue3,vite,element-plus,axios,pinia,storages-js,各种小工具库啥的,不采用ts。后端部分还没开始搭建。

dumogu-admin,制作最简易的管理端架子,没有什么弯弯绕绕的结构设计,没有什么奇奇怪怪的全局挂载,复制一个文件到其他项目还要考虑到全局有什么文件需要去复制,我直接该文件引用了什么就去复制什么,多直接呀。很多功能都是手动调用的形式。

代码风格都是使用4个空格换行,除了方法结尾,都用分号,不使用什么vue的复杂指令,一切尽量以手动调用为主,我调用什么就有什么效果,不要什么自动啥的啥的,反正怎么合理怎么来。

基本上一个模块对应的文件夹下都有README.md文件,表示这个文件夹的作用。

web端部分截图

毒蘑菇-admin

毒蘑菇-admin

毒蘑菇-admin

毒蘑菇-admin

毒蘑菇-admin

毒蘑菇-admin

毒蘑菇-admin

dumogu-admin's People

Contributors

wurencaideli 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

dumogu-admin's Issues

关于一个组件多路由使用需要缓存

请教下大佬这个用法创建后使用push打开不回去创建组件是啥原因
vite4 vue3.2

          <router-view>
            <template #default="{ Component, route }">
              <keep-alive>
                <component :is="formatComponentInstance(Component,route)"/>
              </keep-alive>
            </template>
          </router-view>

​const formatComponentInstance = (Component: any, route: any) => {
let wrapper;
if (Component) {
const wrapperName = route.name;
if (wrapperMap.has(wrapperName)) {
console.log("从缓存中读取")
wrapper = wrapperMap.get(wrapperName);
} else {
wrapper = {
name: wrapperName,
render() {
return h(Component);
},
};
wrapperMap.set(wrapperName, wrapper);
console.log("创建全新组件")
}
return h(wrapper);
}
}

​不知道为啥返回不了,可以创建就是不能打开原来的

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.