Skip to content

Image from CSS not looking for theme directory #16

Answered by reidsneo
reidsneo asked this question in Q&A
Discussion options

You must be logged in to vote

Well never mind,
add the mix.setResourceRoot('../'); after mix.setPublicPath solve the issue


mix.setPublicPath("public/themes/default")
    .js(`${__dirname}/js/app.js`, "js")
    .sass(`${__dirname}/sass/app.scss`, "css");
mix.setResourceRoot('../');

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by reidsneo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant