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

Issue with "Getting started with Vue": (Remove components throws error) #65

Closed
psionman opened this issue Jan 28, 2022 · 4 comments
Closed
Labels
effort: small This task is a small effort. help wanted If you know something about this topic, we would love your help!

Comments

@psionman
Copy link

MDN URL: https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Client-side_JavaScript_frameworks/Vue_getting_started

What information was incorrect, unhelpful, or incomplete?

You incorrectly remove the components element form the default defn

Specific section or headline?

Making a couple of changes

What did you expect to see?

remove HelloWorld from

components: {
HelloWorld
}

Did you test this? If so, how?

following the tutorial. error

Failed to compile.

./src/App.vue
Module Error (from ./node_modules/eslint-loader/index.js):

/home/jeff/projects/vue/mdn_tutorial/moz-todo-vue/src/App.vue
1:1 error The template requires child element vue/valid-template-root

✖ 1 problem (1 error, 0 warnings)

MDN Content page report details
@github-actions github-actions bot added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 28, 2022
@psionman psionman changed the title Issue with "Getting started with Vue": (short summary here please) Issue with "Getting started with Vue": (Remove components throws error) Jan 28, 2022
@sideshowbarker sideshowbarker added help wanted If you know something about this topic, we would love your help! effort: small This task is a small effort. and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jan 29, 2022
@himanshugarg
Copy link

himanshugarg commented Jan 31, 2022

Thanks for reporting. Could it be that you're using Vue3. Seems to work ok with the instructions for me Vue2:-
image

@sideshowbarker sideshowbarker added the needs info Needs more information to review or act on. label Jan 31, 2022
@psionman
Copy link
Author

Yes - I'm using vue3

@github-actions
Copy link

It looks like this is your first issue. Welcome! 👋 One of the project maintainers will be with you as soon as possible. We appreciate your patience. To safeguard the health of the project, please take a moment to read our code of conduct.

@bsmth
Copy link
Member

bsmth commented Jan 16, 2023

Thanks a lot for opening the issue @psionman. The docs are now updated to show the error in mdn/content#23696

I'm going to close this one as done now. Thank you :)

@bsmth bsmth closed this as completed Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: small This task is a small effort. help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

No branches or pull requests

4 participants