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

renders fragment or text root nodes issue #12906

Closed
flozero opened this issue Nov 27, 2021 · 2 comments
Closed

renders fragment or text root nodes issue #12906

flozero opened this issue Nov 27, 2021 · 2 comments

Comments

@flozero
Copy link
Contributor

flozero commented Nov 27, 2021

Environment


  • Operating System: Darwin
  • Node Version: v14.18.1
  • Nuxt Version: 3.0.0-27296423.f3082ca
  • Package Manager: yarn@1.22.17
  • Bundler: Vite
  • User Config: publicRuntimeConfig, buildModules, css
  • Runtime Modules: -
  • Build Modules: nuxt-windicss@2.0.12, ./modules/fonts/index.ts

Reproduction

  • Open console
  • Open or navigate between the pages:

https://stackblitz.com/edit/github-paupax?file=pages/second.vue

Describe the bug

I think an image is always better. It should support fragments no ?

Screen Shot 2021-11-26 at 11 10 45 PM

Additional context

No response

Logs

No response

@productdevbook
Copy link
Sponsor Member

maybe this problem -> vuejs/core#4817

@danielroe
Copy link
Member

No, you need a single root node for pages.

https://v3.nuxtjs.org/docs/directory-structure/pages

@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

3 participants