Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support Iconify Transformations #138

Open
maximilianmaihoefner opened this issue Jan 24, 2024 · 0 comments
Open

[Feature Request] Support Iconify Transformations #138

maximilianmaihoefner opened this issue Jan 24, 2024 · 0 comments

Comments

@maximilianmaihoefner
Copy link

maximilianmaihoefner commented Jan 24, 2024

According to the Vue-Iconify Docs one can pass a rotate and flip Prop to transform the Icon, to display it in different orientations.

<template>
  <Icon name="ic:round-double-arrow" size="26" :rotate="flip && '2'" />
</template>

<script setup lang="ts">
const flip = ref(false);
</script>

While this works fine with nuxt-icon during development, it breaks in a Prod build. The transformations no longer get applied.

It would be great if nuxt-icon could also support these props, if possible. I'm open to help with this issue if someone could give me some pointers where to start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant