Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assetsDir option not working with non-default indexPath #169

Open
tschmidiger opened this issue Feb 22, 2021 · 0 comments
Open

assetsDir option not working with non-default indexPath #169

tschmidiger opened this issue Feb 22, 2021 · 0 comments

Comments

@tschmidiger
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant