Conversation
|
Hello, I have added 3 new commits:
|
|
@danielroe |
|
My apologies for the slow review on this PR! I'm personally not sure this would be the right way to add this functionality. (Adding CSS generated in JS.) Instead I think generating the image URL with |
|
First of all, thank you for your response. I believe I should first explain the rationale behind this PR: nuxt-img encapsulates the functionalities of html Therefore, the purpose of this PR is to make setting However, you mentioned uncertainty about whether "Adding CSS generated in JS." is a good approach. I would like to understand more about your concerns regarding this idea. Could you please elaborate on why this might not be the correct approach and what your concerns are? |
Add a
useBackgroundImagecomposable to enable the background to use the same functionality as<nuxt-img>.Usage