Skip to content

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

@lozhu

Description

@lozhu

⚠️ 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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions