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

The vite plugin "unocss "cannot be supported #950

Open
DaHaiChen opened this issue Feb 3, 2024 · 5 comments
Open

The vite plugin "unocss "cannot be supported #950

DaHaiChen opened this issue Feb 3, 2024 · 5 comments
Labels
feature New feature request
Milestone

Comments

@DaHaiChen
Copy link

Steps to reproduce

Vite plugin unocss:global:build:scan is not compatible with Farm for now. Because it uses hook "moduleParsed" which is not supported by Farm.

What is expected?

The moduleParsed hook in the rollup is not supported. Hope it will be the same

What is actually happening?

The moduleParsed hook in the rollup is not supported. Hope it will be the same

System Info

The moduleParsed hook in the rollup is not supported. Hope it will be the same

Any additional comments?

No response

@ErKeLost
Copy link
Member

ErKeLost commented Feb 3, 2024

The plugin for unocss is in progress. We will use the farm native js plugin instead of using vite-compatible plugins. Please wait.

@ErKeLost ErKeLost added the feature New feature request label Feb 3, 2024
@wre232114
Copy link
Member

you can use unocss postcss plugin for now. vite plugin unocss is deeply integrated with vite, some of it's plugins can not be supported.

for unocss plugin, we will implement unplugin-unocss for farm later

@ziongh
Copy link

ziongh commented Apr 24, 2024

Is there any update on this thread? Currently the latest farm with postcss is not working with unocss.

@ErKeLost
Copy link
Member

Is there any update on this thread? Currently the latest farm with postcss is not working with unocss.

I'll try this question.

@wre232114 wre232114 added this to the Planned milestone Jun 25, 2024
@rvion
Copy link

rvion commented Oct 8, 2024

great roadmap in #1589 ; really hope I can use react with unocss soon

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

No branches or pull requests

5 participants