Skip to content

谁能提供一下publicPath设置成‘./’,能实际生效的方法。 #4948

@826327700

Description

@826327700

What problem does this feature solve?

我能在任意目录部署我的项目

What does the proposed API look like?

我希望publicPath:'./' 打包后就是以./开头,不要去掉好吗?官网文档明明写着可以设置‘./’,新版本cli暗地里改了规则,害我找了半天的原因,这样好吗?
image

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