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

weird behavior with vite-node #14193

Closed
baixiaoyu2997 opened this issue Jun 21, 2022 · 1 comment · Fixed by nuxt/framework#5854
Closed

weird behavior with vite-node #14193

baixiaoyu2997 opened this issue Jun 21, 2022 · 1 comment · Fixed by nuxt/framework#5854

Comments

@baixiaoyu2997
Copy link
Contributor

Environment

Nuxt project info: 03:29:29


  • Operating System: Linux
  • Node Version: v14.18.1
  • Nuxt Version: 3.0.0-rc.4
  • Package Manager: yarn@1.22.17
  • Builder: vite
  • User Config: components, experimental
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://codesandbox.io/s/v45ojk?file=/pages/index.vue:98-109

switch viteNode will see different

Describe the bug

enable vite-node then style lost, I think the problem is caused by y-button code comments :

<!-- <y-button disabled dark block></y-button> -->

when i delete this comments ,will works
but disabled vite-node ,don't need delete this comments also works

Additional context

蹲一个婷婷

Logs

No response

@danielroe
Copy link
Member

cc: @antfu

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

Successfully merging a pull request may close this issue.

3 participants