xusenlin / vue-element-ui-admin Goto Github PK
View Code? Open in Web Editor NEW:maple_leaf: 一个基于Vue 3(ScriptSetup) + TS + Vite + ElementPlus + Pinia + VueRouter + Axios的后台模板,做了目录结构的整理和常用方法的封装,开箱即用 :)
License: MIT License
:maple_leaf: 一个基于Vue 3(ScriptSetup) + TS + Vite + ElementPlus + Pinia + VueRouter + Axios的后台模板,做了目录结构的整理和常用方法的封装,开箱即用 :)
License: MIT License
首先非常感谢作者
使用过程中有一个疑问
比如 src/views/categoryManage/Index.vue中
self.$Api.departDelete({id:id},r=>{....
这个 self.$Api以及departDelete在哪里定义的?
能不能提供一个对应的后台的模板?
这部分确实不太会做,希望能够得到您的答复!
Failed to compile with 1 errors
This dependency was not found:
菜单部分的渲染数据是在应用启动时就通过静态路由渲染了,那动态路由的菜单渲染怎么做呢
您好,我用的您的模板有点问题不知道怎么解决,想问一下
路由懒加载写法:
component: resolve => require(['@/views/home/Index.vue'], resolve),
...
打开首页就会把所有js都加载出来
没有测试吗
不好意思,我是新手。
您能不能详细说下commonValidateRules.js在Login.vue里面怎么使用?
非常感谢。
打包方式有3:
1:npm run build
2:npm run build:dev
3:npm run build:test
问题--------------------
如果使用npm run build生成的包没有app.js且js部分全在js目录下
然而使用2,3打出来的包没有js目录,且有一个app.js包,这个包特别大,有9M多
很难想象现在加载这个页面要多长时间,看看大神是否有办法解决这个问题
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.