-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
[vue] 组件中写name选项有什么作用? #434
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
Labels
vue
vue
Comments
蜜汁微笑, 遇到了bug, 你就会知道为什么了 |
项目使用keep-alive时,可搭配组件name进行缓存过滤 |
注册全局组件的时候,也需要使用name吧,Vue.component(ComponentA.name,ComponentA)这样 |
1、组件keep-alive缓存用name搭配exclude过滤 |
1配合 keep-alive 2vue router 也可以使用组件的 name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[vue] 组件中写name选项有什么作用?
The text was updated successfully, but these errors were encountered: