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

Dev server won't start with @apply rule in style block #14240

Closed
mwohlan opened this issue Jun 28, 2022 · 1 comment
Closed

Dev server won't start with @apply rule in style block #14240

mwohlan opened this issue Jun 28, 2022 · 1 comment

Comments

@mwohlan
Copy link

mwohlan commented Jun 28, 2022

Environment

Nuxt project info:


  • Operating System: Linux
  • Node Version: v16.14.1
  • Nuxt Version: 3.0.0-rc.4-27605536.8c2c80e
  • Package Manager: pnpm@7.3.0
  • Builder: vite
  • User Config: modules, autoImports, ssr, experimental, unocss, colorMode, typescript
  • Runtime Modules: @vueuse/nuxt@8.7.5, @unocss/nuxt@0.41.1, @pinia/nuxt@0.1.9, @nuxtjs/color-mode@3.1.4, @nuxtjs/supabase@0.1.17
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/github-qsbpta?file=app.vue

Describe the bug

This only applies to the edge-channel. The latest rc4 doesn't have this issue.

As soon as any "@ apply" (Unocss/Tailwind) rules are present in the style block, the following type of errors appear preventing the dev server to start:
image

Additional context

No response

Logs

No response

@danielroe
Copy link
Member

Resolved in nuxt/framework#5398.

@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants