GithubHelp home page GithubHelp logo

jzfai / vue3-admin-plus Goto Github PK

View Code? Open in Web Editor NEW
824.0 10.0 198.0 1.61 MB

👏 An amazing admin framework of vue3

License: MIT License

JavaScript 12.86% Shell 0.09% HTML 0.11% Vue 53.98% TypeScript 22.24% SCSS 10.54% CSS 0.18%
vue3 i18n admin-template element-plus setup-script pinia2 theme vite4 rbac typescript

vue3-admin-plus's People

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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue3-admin-plus's Issues

无法使用tailwindcss

在项目运行后,按照tailwind官方的流程引入css,无法触发相关编译机制,无法进行编译,导致最终无法使用tailwind。

运行 pnmp run dev 报错

运行 pnmp run dev 报错
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string or an instance of URL. Received undefined

资源打包

build: { assetsDir:'static/img', rollupOptions:{ output:{ chunkFileNames:'static/js/[name]-[hash].js', entryFileNames:'static/js/[name]-[hash].js', assetFileNames:'static/[ext]/[name]-[hash].[ext]', } } },

建议优化build,这样img、css、js就在不同的文件夹了

关于tagsView的讨论 可能算功能范围或者bug

以 首页 和 低代码平台 两个菜单为例
进入项目地址 此时tagview上有 一个名为 首页 的tag
第一步:点击低代码菜单 则多了一个名为 低代码平台的tag
第二步:通过点击tagview回到 首页
第三步:在首页写一个按钮 功能为 路由跳转 到 低代码平台页 push( { name:'xxx’, query: { name = "test" } } )
此时跳转到低代码页后 url上 会 带上 ?name=test https://github.jzfai.top/vue3-admin-plus/#/codeGenerator/index?name=test
第四步:通过点击tagview 跳回首页 再 点击 tagview跳到 低代码平台页 url上的 name参数 未保留 消失了

简而言之 通过push 带上 query参数跳转的页面 切换其他页面 再通过tagview进入 query参数会消失
当然这可以归为 功能实现 而不是bug

不过 vue-element-admin 是 有能够保留的 该参数的

依赖升级

element-plus和对应的icon库可以更新了 新版的用法有些跟旧版不一样了 可以看element-plus官网 辛苦!

screenlock not working on tables

Screenlock feature seems to not work correctly when background page has table.
But this doesn't seem to be an issue with VXE table like in demo site.
I have no fix for this at the moment.

I am not sure if this is only in screenlocks.

EDIT:
It also shows checkboxes while in screenlock.

screenlock

运行时报错

[email protected] dev D:\dev\NKFABack
vite --mode serve-dev --host

fatal: Needed a single revision
failed to load config from D:\dev\NKFABack\vite.config.js
error when starting dev server:
Error: Command failed: git rev-parse --short HEAD
fatal: Needed a single revision

at checkExecSyncError (child_process.js:790:11)
at Object.execSync (child_process.js:863:15)
at Object.<anonymous> (D:\dev\NKFABack\vite.config.js:65:32)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Object.require.extensions.<computed> [as .js] (D:\dev\NKFABack\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-5496817b.js:82494:20)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:12)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:93:18)
at loadConfigFromBundledFile (D:\dev\NKFABack\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-5496817b.js:82502:17)
at loadConfigFromFile (D:\dev\NKFABack\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-5496817b.js:82421:32)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async resolveConfig (D:\dev\NKFABack\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-5496817b.js:81991:28)
at async createServer (D:\dev\NKFABack\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\chunks\dep-5496817b.js:67664:20)
at async CAC.<anonymous> (D:\dev\NKFABack\node_modules\.pnpm\[email protected][email protected]\node_modules\vite\dist\node\cli.js:688:24)

 ELIFECYCLE  Command failed with exit code 1.

Process finished with exit code 1
请问这是什么引起的

Button group has margin left

If multiple button inside button-group, non first child has margin left.
This is in base and china-red theme. Not sure in other theme.

My initial fix:
.el-button-group > .el-button + .el-button {
margin-left: 0;
}

button-group

showTagsView not cleared when false

When showTagsView is false, height is not updated to where there should not be --tag-view-height. So it creates a "footer like" view below. I fixed this in my local and I forgot how I did it.

This case also happens during scroll in src/styles/index.scss.

dashboard-no-tags-views

dashboard-no-tags-views-inspect

依赖报警告

安装依赖时报了很多警告,但是能够正常运行,请教下该有什么好的解决办法吗

image

build static file server question

请问build出来的静态档案,要如何架设? 使用以下的pm2 config架设的首页会是空白的

module.exports = {
  name: 'app',
  script: 'serve',
  vizion: false,
  env: {
    PM2_SERVE_PATH: './dist',
    PM2_SERVE_PORT: 5007,
    version: version
  }
}

Script tag

Isn't always recommended to put the script setup tag before the template tag

太好了这个项目

明明就一个模版项目 非得加入一堆乱七八糟的东西进去 还要模拟请求 登陆。
一个前端页面居然没有请求也要读条半天。 不知道作者在弄什么。

在线demo,请求发生错误

let dataBaseUrl = $ref(
'https://github.jzfai.top/micro-service-api/basis-func/dataBase/getAllDatabaseOrTable/micro-service-plus'
)
请求发生错误,可以修复下在线demo吗

{
"msg": "Could not open JDBC Connection for transaction; nested exception is com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure\n\nThe last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.",
"flag": false,
"code": 20001
}

路由切换

请问我动态添加路由之后,多次切换的话,为什么会白屏呢

测试数据

请问一下:

   1,测试数据是在哪里隐藏的? 
   2, 如何实现向让匿名用户不用登录也可以访问指定的页面?  登录成功后会执行什么操作? 写cookie? 
        看vue2的版本,很明显看到有:
      const data = response.data
      Cookies.set('Token', response.data.token) //登录成功后将token存储在cookie之中
      commit('SET_TOKEN', data.token)
   但vue3的版本看不懂。 求指教。 

谢谢

真香!

是否会跟进技术栈更新

感觉是vue3 + element-plus完全复刻了vue-element-admin 很香,感谢作者!!

以下建议为个人想法,谢谢。
vuex个人感觉可以更新到pinia
添加 unplugin-auto-import 自动引入插件

aa

有群没

横板菜单警告问题

菜单设置成横板会出现以下错误提示
image
测试了下,直接用官方的横板菜单例子,缩小屏幕是不会出现这个提示的

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.