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

@apply not working by vue-cli5.0.8(Vue2.6.14) initialization project #1465

Closed
Alkaidcc opened this issue Aug 25, 2022 · 3 comments
Closed

@apply not working by vue-cli5.0.8(Vue2.6.14) initialization project #1465

Alkaidcc opened this issue Aug 25, 2022 · 3 comments
Labels

Comments

@Alkaidcc
Copy link

I want import @unocss/transformer-directives to use @apply, but it not working in the below project.

Minimal reproducible example:
https://stackblitz.com/edit/vue2-vue-cli-sutyue
and when I use --at-apply, it still not working

But in Vite(Vue3.2.37), it works well.
https://stackblitz.com/edit/vitejs-vite-nsvplp

@Alkaidcc
Copy link
Author

looks like same as #1455

@stale
Copy link

stale bot commented Oct 24, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 24, 2022
@mdxiaohu
Copy link

mdxiaohu commented Sep 26, 2023

@Alkaidcc Can you use '@apply' now? I also encountered the same problem as you,
Was it resolved by reducing the version?

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

No branches or pull requests

2 participants