Replies: 1 comment
-
|
Try this: Note that these classes won't actually exist so |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello All,
Could you please help me to pass different attributes for dev environment and production environment, for example:-
I have a very simple spacer component:-
this is how i am consuming this:-
<x-spacer class="{variables.spacer}" />But i want to pass a class name for example "margin-top-x2" for dev environment and a variable for production environment:-
for Dev i need
<x-spacer class="DESIRED_CLASSNAME_HERE" />andfor Prod i need
<x-spacer class="{variables.spacer}" />Could you guys please help me with this?
Beta Was this translation helpful? Give feedback.
All reactions