Skip to content

修改 VITE_APP_PUBLIC_PATH 后build,在nginx看是空白页 #20

Closed
@weiq

Description

@weiq

直接拉取带码,修改VITE_APP_PUBLIC_PATH为 VITE_APP_PUBLIC_PATH=/test/,运行yarn build打包,之后运行yarn preview看效果,发现是空白页面

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