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

Customize app root element #15312

Closed
3 of 4 tasks
yassilah opened this issue Nov 1, 2022 · 2 comments · Fixed by nuxt/framework#8883
Closed
3 of 4 tasks

Customize app root element #15312

yassilah opened this issue Nov 1, 2022 · 2 comments · Fixed by nuxt/framework#8883

Comments

@yassilah
Copy link
Contributor

yassilah commented Nov 1, 2022

Describe the feature

Currently, the Nuxt app is mounted inside a #__nuxt container and this cannot be changed. Allowing for a custom root element would allow for:

  • customizing the rendered HTML page using a Nitro plugin and mount the app inside that custom page;
  • creating a no-SSR app and incorporating it into an existing HTML page, but with all the benefits that Nuxt brings along.

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@manniL
Copy link
Member

manniL commented Nov 1, 2022

Also related: #15132

@yassilah
Copy link
Contributor Author

yassilah commented Nov 1, 2022

Thanks, i'll mention the issue in the PR. Have you taken a look at it?

@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
3 participants