Giter VIP home page Giter VIP logo

admin-vue-src's Introduction

admin-vue-src

webman admin管理后台前端源码

使用

下载

git clone https://github.com/webman-php/admin-vue-src

安装依赖

cd admin-vue-src
pnpm install

运行

pnpm serve

构建

pnpm build

admin-vue-src's People

Contributors

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

Watchers

 avatar  avatar

admin-vue-src's Issues

本地开启dev模式,代理不到正确的后台地址

⚠️ 重要 ⚠️ 在进一步操作之前,请检查下列选项。如果您忽视此模板或者没有提供关键信息,您的 Issue 将直接被关闭

  • 已阅读 文档.
  • 确保您的代码已是最新或者所报告的 Bug 在最新版本中可以重现. (部分 Bug 可能已经在最近的代码中修复)
  • 已在 Issues 中搜索了相关的关键词
  • 不是 ant design vue 组件库的 Bug

描述 Bug

求助,在本地运行 pnpm serve 以后,打开localhost:3100,登录页刷不出来验证码,serve窗口提示一个错误
报错信息
ERROR 15:07:05 [vite] http proxy error: 15:07:06
Error: connect ECONNREFUSED ::1:8787
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1300:16)

这个bug是在更新了最新的前端代码后出现的,生产模式下正常。

复现 Bug

在本地运行 pnpm serve 以后,打开localhost:3100,控制台会报以上错误

系统信息

  • 操作系统:mac os 12.6
  • Node 版本:18.8.0
  • 包管理器 (npm/yarn/pnpm) 及其版本: pnpm 7.11.0

打包后,登陆页的验证码不显示,url不对

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Make sure the code is up to date. (Some bugs have been fixed in the latest code)
  • This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

Describe the bug

Whether to open mock

VITE_USE_MOCK = false

public path

VITE_PUBLIC_PATH = /

Delete console

VITE_DROP_CONSOLE = true

Whether to enable gzip or brotli compression

Optional: gzip | brotli | none

If you need multiple forms, you can use , to separate

VITE_BUILD_COMPRESS = 'gzip'

Whether to delete origin files when using compress, default false

VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false

Basic interface address SPA

VITE_GLOB_API_URL=https://url

File upload address, optional

It can be forwarded by nginx or write the actual address directly

VITE_GLOB_UPLOAD_URL=https://url/app/admin/upload/upload

Interface prefix

VITE_GLOB_API_URL_PREFIX=

Whether to enable image compression

VITE_USE_IMAGEMIN= false

use pwa

VITE_USE_PWA = false

Is it compatible with older browsers

VITE_LEGACY = false

Reproduction

Please describe the steps of the problem in detail to ensure that we can restore the correct problem

System Info

  • Operating System:
  • Node version:
  • Package manager (npm/yarn/pnpm) and version:

源码build打包部署后,CardGrid UI控件显示有问题

一、源码打包部署,CardGrid UI控件显示有问题
vben admin官方源码编译是正常的,正常显示如下图:
image

admin-vue-src源码打包后显示如下图,CardGrid 实际内容无法显示
image

二、确认了此问题所有的CardGrid 控件均显示有问题,并非业务代码的问题,vben admin官方的页面直接复制到admin-vue-src中打包,显示也也是有问题的

三、具体代码测试代码为vben admin官方的QuickNav.vue
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.