You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 30, 2020. It is now read-only.
Describe the bug
Button component has window, and I get error ReferenceError: window is not defined on server-side.
Expected behavior
Component mustn't throw error in server-side.
Screenshots
The tenth line contains window in file node_modules/material-components-vue/dist/button/index.js.
I guess it happens, because target is web in webpack config.
I found similar discussion about it webpack/webpack#6522.
Also, I found your issue, where you set taget: node, but now I can't find this config (cfd1070).