0๐
โ
I figured it out: in this case, the problem was that contentMarker
should have been <div id=app></div>
, without the quotes: the HTML was being minified by webpack.
The result of not doing this is that the entire layout file was being output, and then the rendered Vue template: this meant that the Vue JS was being loaded before the template, so there was no document to rehydrate.
A warning might have been useful, though!
Source:stackexchange.com