Skip to content

How to exclude all folders named "components" and all their subfiles in src/views? #517

Closed Answered by posva
qiuqimin asked this question in Q&A
Discussion options

You must be logged in to vote
VueRouter({
  // ...
  exclude: ['**/components'],
})

Use a picomatch expression (https://uvr.esm.is/guide/configuration.html#configuration)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by qiuqimin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants