I found the problem: I was paginating the replies on the PHP end...
Jul 13, 2020
4
Level 15
VueJS - Error compiling template: The value for a v-bind expression cannot be empty. Found in "v-bind:data"
Hi everyone,
I've got a strange error:
[Vue warn]: Error compiling template:
The value for a v-bind expression cannot be empty. Found in "v-bind:data"
1 | <div id="app">
| ^^^^^^^^^^^^^^
2 | <nav class="navbar navbar-expand-lg navbar-light mb-5">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
3 | <div class="container">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4 | <a class="navbar-brand" href="/">Laravel Forum</a>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5 |
| ^^^^^^^^
6 | <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarContent">
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 | <span class="navbar-toggler-icon"></span>
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
8 | </button>
| ^^^^^^^^^^^^^^^^^^^^^^^^^
But in my navbar I don't use Vue, so what's going on here?
I also don't see a line number of the error, and npm run watch ran successful.
What can I do?
Thank you! Jeroen
If you need more information, please ask me.
Level 15
1 like
Please or to participate in this conversation.