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.

type ignoring folder with bracket

See original GitHub issue

so i have a dynamic route on a folder name [path] is a folder and not a vue file. using useRoute with the route name does not infering the route type, it is ignoring the path if it is a folder

here is the code. image

here is how the folder structure image

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
zynth17commented, Jul 6, 2022

~Remove the : RouteLocation~ Ah, that’s just visual.

This works when I tested. Can you reproduce it in the repository?

here the repro https://github.com/zynth17/unplugin-vue-router-bug-dynamic-path

edit: this repro also have the same problem with no autocompletion on generic using useRoute on #12

0reactions
zynth17commented, Jul 6, 2022

Thanks, now I see the bug!

no problem!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filenames having square brackets, NOT ignored by .gitignore?
It had been me trying to write regexes which was both entertaining and frustrating. Now I have to figure out how to automate...
Read more >
gitignore not ignoring files with square brackets #2043 - GitHub
Conditions to reproduce: I am trying to dvc add a file that contains brackets in the file name, like [4] hello.png.
Read more >
Find directories excluding ending bracket - Unix Stack Exchange
Try this: ls -ld *[^\)]. [] - set of characters that we are interested in. ^ - negation (so we include set of...
Read more >
Gitignore Multiple Square Bracketed Folders - Stack Overflow
I've only been able to gitignore one bracketed file, is there a way to ignore a file that sits within multiple bracketed folders?...
Read more >
gitignore examples to ignore files, folder & pattern
The .gitignore is a file containing a list of files or folders that allows you to command Git to pass over/ignore in the...
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