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

服务端渲染, 传递参数无法正常获取, sass样式无法正确展示 #154

Open
vvcat0906 opened this issue Dec 11, 2020 · 1 comment

Comments

@vvcat0906
Copy link

controller render函数传递的参数, 在服务端渲染的时候, 只能通过this.$root获取, 在客户端下, 才注入进data, 还有页面会闪一下, 样式才正确的展示, webpack配置开启了sass
QQ截图20201211151229
QQ截图20201211151149
QQ截图20201211151311

@vvcat0906
Copy link
Author

@hubcarl

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