Home > front end >  Single page introduction of vue. Js error on deployed in tomcat
Single page introduction of vue. Js error on deployed in tomcat

Time:01-10

 



<meta charset="utf-8"/& gt;


<body>
{{message}}



<script SRC="https://bbs.csdn.net/topics/js/vue.min.js" type="text/javascript" charset="utf-8" & gt; </script>
<script>
New Vue ({
El: "# app,"
Data: {
The message: "hello"
},
Mounted () {

}
})
</script>


Open the index with local browser. HTML can be normal, no error

Deployed to tomcat service error

Bundle. Js: 8 Uncaught TypeError: enclosing setFilesInPage is not a function
The at VueComponent. Ready (bundle. Js: 8)
The at VueComponent. E. _callHook (bundle. Js: 5)
The at VueComponent. T (bundle. Js: 5)
The at VueComponent. O (bundle. Js: 5)
The at VueComponent. Eo. E. $emit (bundle. Js: 5)
The at VueComponent. E. _callHook (bundle. Js: 5)
The at t (bundle. Js: 5)
The at VueComponent. E. $before (bundle. Js: 5)
At the xo. The transition (bundle. Js: 6)
At the xo. MountComponent (bundle. Js: 6)
Ready @ bundle. Js: 8
E. _callHook @ bundle. Js: 5
T @ bundle. Js: 5
O @ bundle. Js: 5
Eo. E. $emit @ bundle. Js: 5
E. _callHook @ bundle. Js: 5
T @ bundle. Js: 5
E. $before @ bundle. Js: 5
The transition @ bundle. Js: 6
MountComponent @ bundle. Js: 6
(anonymous) @ bundle. Js: 6
(anonymous) @ bundle. Js: 6
O @ bundle. Js: 4
Xsl-fo. E. _resolveComponent @ bundle. Js: 5
ResolveComponent @ bundle. Js: 6
SetComponent @ bundle. Js: 6
The bind @ bundle. Js: 6
The xo. _bind @ bundle. Js: 6
Ht @ bundle. Js: 4
(anonymous) @ bundle. Js: 4
E. _compile @ bundle. Js: 5
So. E. $mount @ bundle. Js: 5
Oe. E. _init @ bundle. Js: 4
Co @ bundle. Js: 5
(anonymous) @ bundle. Js: 3
Load (async)
(anonymous) @ bundle. Js: 3
F @ bundle. Js: 1
N @ bundle. Js: 1
(anonymous) @ bundle. Js: 1
F @ bundle. Js: 1
(anonymous) @ bundle. Js: 1
(anonymous) @ bundle. Js: 1
VM251:97 Uncaught TypeError: always read the property 'geAdapter of undefined
At the WebSocket. _ws. Onopen (eval at e.e xports (bundle. Js: 3), & lt; Anonymous> : 97-47)
_ws. Onopen @ VM251:97




  • Related