You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importvideoelemfrom'videoelem.pug?raw';constVideoElem=(){
...
...
// pug keeps this as a string, but as the correct string-- like if this were passed to a pug compile function i'm pretty sure it'd do finereturnpug`${videoelem}`// this just would print out videoelem because it's treating it as a stringreturnpug`videoelem`// this fails because apparently the `` isn't a string even though it's a string?returnpug``.concat(videoelem)}...
I don't get it.
... I have a string that this plugin could totally compile if I could just figure out how to pass it to this pug`` ... function?
It seems so close. Is there a way to pass a string along to this pug transformer thing? Like
letstring='div.derp'pug`${{string}}`
The text was updated successfully, but these errors were encountered:
I'm using threejs/react-three-fiber and this works:
But these do not:
I don't get it.
... I have a string that this plugin could totally compile if I could just figure out how to pass it to this pug`` ... function?
It seems so close. Is there a way to pass a string along to this pug transformer thing? Like
The text was updated successfully, but these errors were encountered: