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

vue-meta-info 配合 prerender-spa-plugin 使用, 源码里面没有 生成mate标签 #13

Open
I-find-you11 opened this issue Oct 13, 2021 · 1 comment

Comments

@I-find-you11
Copy link

vue-meta-info 配合 prerender-spa-plugin 使用, prerender-spa-plugin 打包出来的html文件里面没有mate 标签,但是在f12 的控制台里面会生成 mate 标签,这样会对seo有影响吗?我看网上的教程在源码里面也会生成 mate标签,是不是哪里设置有问题或者 vue-meta-info版本不一样导致的这种问题?

@I-find-you11
Copy link
Author

找到问题了,如果在路由守卫里面设置了路由权限,被设置权限的路由就没法打包正常的静态html了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant