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

Important ! Uno Css classes does not get styles in laravel blade files #1459

Closed
mithublue opened this issue Aug 23, 2022 · 2 comments
Closed

Comments

@mithublue
Copy link

Hi,

I use vite for compilation and installed uno in vite as directed the documentation, configured it in vite.config.js . Added uno.css in main js and linked that js in master.blade.php and run "npm run dev". But I found adding uno classes in blade file does not get styles while if I write those classes in vue component/file, the style is easliy fetched as expected.

I think, uno css can not get style in blade file. Probably , it might be a bug which prevent many people using it in their popular framework, laravel.

@antfu
Copy link
Member

antfu commented Aug 23, 2022

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

@antfu antfu closed this as completed Aug 23, 2022
@pbuzdin
Copy link
Contributor

pbuzdin commented Dec 1, 2022

Hey @mithublue !
Unocss since version 0.47.4 it is now correctly updates css classes in php and phtml files!

see #1939

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

3 participants