We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
yyx990803
posva
Learn more about funding links in repositories.
Report abuse
1 parent aeebf0d commit 3eb37acCopy full SHA for 3eb37ac
src/core/util/env.js
@@ -38,7 +38,7 @@ let _isServer
38
export const isServerRendering = () => {
39
if (_isServer === undefined) {
40
/* istanbul ignore if */
41
- if (!inBrowser && typeof global !== 'undefined') {
+ 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'
0 commit comments