We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In public/index.html there is a <div id="app"></div>
public/index.html
<div id="app"></div>
And then once again in src/App.vue
src/App.vue
When the app is rendered to the browser there are now two div elements of the same id which is not HTML5 compliant code. I end up with:
div
id
<div id="app" data-v-app=""> <div id="app"> <!-- router content here --> </div> </div>
Why is this so and how can we change it so that the ids are unique for each div.
The text was updated successfully, but these errors were encountered:
fix moduslabs#7, which contains 2 div element with same id;
ce10c32
make the name of file more impressive; add activation of client side in ssr; add compiler config of client side in ssr;
I fix this issue on my own repo branch (https://github.com/zhangzhuang15/vue3-example-ssr/tree/jasonzhang-feature), you can take a try.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
In
public/index.html
there is a<div id="app"></div>
And then once again in
src/App.vue
When the app is rendered to the browser there are now two
div
elements of the sameid
which is not HTML5 compliant code. I end up with:Why is this so and how can we change it so that the
id
s are unique for each div.The text was updated successfully, but these errors were encountered: