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

Nuxt 3 project won't load preflight css #158

Open
liqueflies opened this issue Jan 27, 2022 · 0 comments
Open

Nuxt 3 project won't load preflight css #158

liqueflies opened this issue Jan 27, 2022 · 0 comments

Comments

@liqueflies
Copy link

Describe the bug
Initializing a new nuxt3 project and adding nuxt/windicss the preflight CSS is not loaded correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Init new nuxt project
  2. Follow nuxt-windicss guide to install the module

Adding html like ul or h1 margin / padding / list-style are not normalizing or resetting.
For me the preflight should be this: https://github.com/windicss/windicss/blob/main/test/assets/preflight.css
But this rules are not available for me.

I also tried to add into my nuxt config:

  css: [
    'virtual:windi-base.css',
    'virtual:windi-components.css',
    'virtual:windi-utilities.css',
  ],

But with no luck.

Expected behavior
This CSS: For me the preflight should be this: https://github.com/windicss/windicss/blob/main/test/assets/preflight.css
should be included into my project.

Thank you!

L.

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