Closed jhull closed 4 years ago
I'm also having this issue and currently investigating. Did you find any workarounds?
Found it:
In your spark-bootstrap
file, you have this condition:
if ($('#spark-app').length > 0) {
require('vue-bootstrap');
}
just remove the if condition because it checks in the dom with jQuery to see if we have element with ID of spark-app
.
Sry if this isn't the place to post this, but I can't find anyone with same problem.
Fresh install of latest Laravel w/ Spark. Everything works great if
` everything stops working.app.js
is in<body>
, but the moment I move to suggested 'If I put it before Spark scripts in head, I get
Spark not defined
error. If I put at the end of<head>
I getVue not defined
.Would love to get all of these playing nice together.