Skip to content

cli3默认设置了publicpath,这使得我无法使用__webpack_public_path__,怎么办 #4072

@jiong0208

Description

@jiong0208

Version

3.8.0

Environment info

nodejs 8.12.0

Steps to reproduce

image

What is expected?

项目入口文件中设置了__webpack_public_path__,vue.config.js里没有设置publicPath,这样子做并不能运行时设置publicPath

What is actually happening?

希望vue-cli3能增加配置项开关,让用户能够设置__webpack_public_path__,来实现动态publicPath的功能!

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproductionThis issue is missing a minimal runnable reproduction, provided by the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions