Skip to content

assetsDir option not working with non-default indexPath #169

Open
@tschmidiger

Description

@tschmidiger

Thanks for your guide! However, if one intends to use the assetsDir option, the automatically injected assets will not be referenced correctly in the app.blade.php. If the indexPath is different from index.html (e.g. app.blade.php) the assetsDir option is not taken into account. As a workaround in order to use the assetsDir option I set the indexPath to index.html and moved the index.html after the build to app.blade.php into the target directory (resources/views/app.blade.php).

The handling of non-default indexPaths happens here:
node_modules/@vue/cli-service/lib/config/app.js:107

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions