Giter Club home page Giter Club logo

vite-vue3-admin's Introduction

Electron Vite Monorepo

An Electron + Vite Monorepo Demo

Uses:

  • Vue.js
  • Typescript
  • Turborepo
  • Vite (for Electron builds)

Getting Started

pnpm install
pnpm run dev

Build

pnpm build

Pack App

pnpm build:app

vite-vue3-admin's People

Contributors

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

vite-vue3-admin's Issues

更改primary-color不生效

Bug report(问题描述)

想更改antdv的默认主题色,但是更改了不生效

Steps to reproduce(问题复现步骤)

image
image

Screenshot or Gif(截图或动态图)

Link to minimal reproduction(最小可在线还原 demo)

Other relevant information(格外信息)

  • Your OS:
  • Node.js version:
  • packageManager:

项目启动成功,但页面无法加载

项目启动成功了,报了包依赖的问题,
访问页面的时候,页面也一直卡着,但控制台也没有报错。

1: pnpm install 一切正常。
2:pnpm serve 提示如下,但项目还是成功启动了。
Failed to resolve dependency: @vue/shared, present in 'optimizeDeps.include'
3:浏览器访问项目地址。

KV YNK80%9ED)LMYZ)1MM%V

GOGA7SUG$R((0XI@E@W6HLI

  • Your OS: win10
  • Node.js 版本: v16.18.1
  • packageManager: pnpm v7.18.2

启动后一直加载,白屏什么问题呢

Bug report(问题描述)

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

Link to minimal reproduction(最小可在线还原 demo)

Other relevant information(格外信息)

  • Your OS:
  • Node.js version:
  • packageManager:

菜单渲染问题

请问如果我只有一个子菜单项的如何设置左侧列表只显示这个菜单项,不创建他的父级目录?
比如,系统看板菜单下只有一个子菜单项,所以我就不想显示这个系统看板了直接显示一个首页作为单独的菜单

generator-router 动态菜单父菜单redirect不生效

hi, buqiyuan,我看了generator-router的代码,其中有一个判断 if (item.type === 0) 同时 if (children?.length) 存在子项时,会把子项的第一个菜单的name作为父菜单的redirect参数,但使用过程中貌似不生效?

找不到相关资源文件

测试人员停留在上个系统版本,我重新发布一个新版本覆盖上一个版本的资源文件,这时测试人员点击以前没有访问过的页面,就会报错找不到相关的资源文件。原因是vite打包后js相关文件较细,进入新页面的时候需要加载服务器资源,此时上个版本的资源已经替换成新版本的资源,所以找不到资源文件。请问这种情况有什么好的办法解决吗?

clone代码安装依赖后无法启动

Bug report(问题描述)

从github拉下代码安装依赖后 直接运行就报错,重装了几次依赖都是一样的错

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

image

Link to minimal reproduction(最小可在线还原 demo)

Other relevant information(格外信息)

  • Your OS:
  • Node.js version:
  • packageManager:

文档

大神不准备撸个文档:smile:

无法找到模块“vue-i18n”的声明文件

Bug report(问题描述)

运行没有问题,但是i18n Ally 扩展 提示 没有找到文案
import from vue-i18n 的地方都是 无法找到模块“vue-i18n”的声明文件。

Steps to reproduce(问题复现步骤)

Screenshot or Gif(截图或动态图)

Link to minimal reproduction(最小可在线还原 demo)

Other relevant information(格外信息)

  • Your OS: window11
  • Node.js version: 14.21.3
  • packageManager: pnpm v 6.35.1

开发本地运行超级慢

image
开发的时候刷新页面后平均要等20秒才能显示,线上版本则没有这问题。

"dependencies": {
    "@ant-design/icons-vue": "^6.0.1",
    "@vueuse/core": "^7.6.2",
    "ant-design-vue": "^3.1.1",
    "axios": "^0.26.0",
    "dayjs": "^1.10.7",
    "file-saver": "^2.0.5",
    "lodash-es": "^4.17.21",
    "mitt": "^3.0.0",
    "nprogress": "^1.0.0-1",
    "pinia": "^2.0.11",
    "qiniu-js": "^3.4.0",
    "qs": "^6.10.3",
    "socket.io-client": "^4.4.1",
    "sortablejs": "^1.14.0",
    "vue": "^3.2.31",
    "vue-i18n": "^9.1.9",
    "vue-router": "^4.0.12",
    "xlsx": "^0.18.2"
  },
  "devDependencies": {
    "@commitlint/cli": "^16.2.1",
    "@commitlint/config-conventional": "^16.2.1",
    "@types/lodash-es": "^4.17.6",
    "@types/node": "^17.0.18",
    "@typescript-eslint/eslint-plugin": "^5.14.0",
    "@typescript-eslint/parser": "^5.14.0",
    "@vitejs/plugin-legacy": "^1.7.1",
    "@vitejs/plugin-vue": "^2.2.4",
    "@vitejs/plugin-vue-jsx": "^1.3.8",
    "commitizen": "^4.2.4",
    "consola": "^2.15.3",
    "eslint": "^8.10.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-define-config": "^1.2.5",
    "eslint-plugin-prettier": "^4.0.0",
    "eslint-plugin-vue": "^8.5.0",
    "gh-pages": "^3.2.3",
    "husky": "^7.0.4",
    "less": "^4.1.2",
    "lint-staged": "^12.3.4",
    "lodash-webpack-plugin": "^0.11.6",
    "mockjs": "^1.1.0",
    "postcss-html": "^1.3.0",
    "postcss-less": "^6.0.0",
    "prettier": "^2.5.1",
    "rollup-plugin-visualizer": "^5.6.0",
    "stylelint": "^14.5.3",
    "stylelint-config-prettier": "^9.0.3",
    "stylelint-config-recess-order": "^3.0.0",
    "stylelint-config-recommended-vue": "^1.3.0",
    "stylelint-config-standard": "^25.0.0",
    "typescript": "^4.6.2",
    "vite": "^2.9.1",
    "vite-plugin-compression": "^0.5.1",
    "vite-plugin-mock": "^2.9.6",
    "vite-plugin-style-import": "^2.0.0",
    "vite-plugin-svg-icons": "^2.0.1",
    "vite-plugin-windicss": "^1.8.3",
    "vue-eslint-parser": "^8.3.0",
    "windicss": "^3.5.1"
  },

系统:win11

锁屏界面

大佬你好,强烈建议锁屏界面有个按钮或上下滑动,或ESC键,退出锁屏,或进入登录界面,不然一点击锁屏就不能退出了/(ㄒoㄒ)/~~

echarts

可以增加一些echarts 的图表的配置吗 还有表格中筛选功能 哈哈

路由问题

SyntaxError: The requested module '/node_modules/.vite/xlsx.js?v=49175fa3' does not provide an export named 'default' '路由错误'
有些路由点击报这个错误,是因为vite的版本原因吗

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.