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

The Vetur v0.29.0 root templating error in Vue 3. #2432

Closed
3 of 4 tasks
JenuelDev opened this issue Nov 3, 2020 · 6 comments
Closed
3 of 4 tasks

The Vetur v0.29.0 root templating error in Vue 3. #2432

JenuelDev opened this issue Nov 3, 2020 · 6 comments

Comments

@JenuelDev
Copy link

JenuelDev commented Nov 3, 2020

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: Windows 10
  • Vetur version: 0.29.0
  • VS Code version: 11.50,1
  • Vue Version: 3
    image

Problem

The Problem here is checking the template for Vue 3. Since Vue does not include the root element, this should not highlight as a problem. It makes the workspace a little bit confusing.
image
image

Reproducible Case

step 1: I created a new project for vue 3 using the CLI command: vue create app-name inside a folder lets-meet.

step 2: I choose the Vue 3 preset
image

step 3: I also created a new project for my backend server(express) in the same folder.
image

step 4: I opened the project using open with VSCode.
image
image

@yoyo930021
Copy link
Member

I can't reproducible it in macOS.
If you try to disable all other extensions?

@JenuelDev
Copy link
Author

oh sorry, I redo what I did,, I don't know how I did my first project. But when I tried to create another project it seems to work properly... I don't know what just happened.. so I think I'm going to close this question...

@JenuelDev
Copy link
Author

I think I redo what I just did, and I find out why its becoming an error, I have edited my reproducible in the issue I made in the top. Please review it thanks 👍🏻

@JenuelDev JenuelDev reopened this Nov 4, 2020
@yoyo930021
Copy link
Member

We don't support monorepo and mulit roots.
Please only open frontend folder.
Keep have package.json and tsconfig.json or jsconfig.json in root.

@JenuelDev
Copy link
Author

We don't support monorepo and mulit roots.
Please only open frontend folder.
Keep have package.json and tsconfig.json or jsconfig.json in root.

but, can it be possible? It's the easiest way to open two projects at once.

@yoyo930021
Copy link
Member

yoyo930021 commented Nov 4, 2020

We don't support monorepo and mulit roots.
Please only open frontend folder.
Keep have package.json and tsconfig.json or jsconfig.json in root.

but, can it be possible? It's the easiest way to open two projects at once.

Please follow #2377

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

2 participants