question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue
  • 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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
yoyo930021commented, 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

0reactions
BroJenuelcommented, 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Vetur error 2300 Duplicate identifier '(Missing)' - Stack Overflow
For me Vetur v0.35.0 broke when I upgraded typescript > 4.4 ... of typescript you're using by typing npm ls typescript in your...
Read more >
Setup | Vetur - GitHub Pages
# Project Setup · package.json must exist in the project root, Vetur uses it to determine the installed Vue version. · Next, create...
Read more >
CHANGELOG.md · igiting/vetur - Gitee.com
Fix project warning logic. Fix project root error when corner case in windows. ... #2522; Fix templates in custom blocks are parsed as...
Read more >
How I Resolved Vue.js, VSCode, Vetur, Prettyhtml, and ...
vue, you get this…notice the space after router-view and the space after router-link> … <template> ...
Read more >
Vue.js on Twitter: "PSA: if you are trying to get VSCode to ...
Having imports referenced directly in <template> is :chefkiss: ... Team India won the 3rd T20 World Cup for the blind: 1st in 2012....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found