-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed as not planned
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
Documentation is
- Missing
- Outdated
- Confusing
- Not sure?
Explain in Detail
When I use template strings like this,
const pngName = 'sun.png' let img = new URL(
../../assets/icons/weather/${pngName}, import.meta.url).href
it's correct.Or I can use it this way
let img = new URL(
@/assets/icons/weather/sun.png, import.meta.url).href
, which is also correct.
But using both together is wrong.like
const pngName = 'sun.png' let img = new URL(
@/assets/icons/weather/${pngName}, import.meta.url).href
Your Suggestion for Changes
Please continue to improve the relevant manuals or optimize them
Reproduction
No response
Steps to reproduce
No response
rajneesh-18 and mark980828
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation