Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1129d18 commit 05e8bcfCopy full SHA for 05e8bcf
‎src/core/util/env.js
@@ -41,7 +41,7 @@ export const isServerRendering = () => {
41
if (!inBrowser && !inWeex && typeof global !== 'undefined') {
42
// detect presence of vue-server-renderer and avoid
43
// Webpack shimming the process
44
- _isServer = global['process'].env.VUE_ENV === 'server'
+ _isServer = global['process'] && global['process'].env.VUE_ENV === 'server'
45
} else {
46
_isServer = false
47
}
0 commit comments