0👍
This is due to the server-side rendering. If you need to specify that you want to import a resource only on the client-side, you need to use the process.client variable.
Try this:
if (process.client) {
var styleElement = document.querySelector('style[' + ssrIdKe`
}
- [Vuejs]-How to get vue JS single file component css into a file and not inline
- [Vuejs]-How to keep mounted in 2 component working same time in Vuejs?
Source:stackexchange.com