Answer the question
In order to leave comments, you need to log in
Why doesn't v-for work?
Hello, please tell me how to fix the code
<!DOCTYPE html>
<head>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script>
</head>
<body>
<div v-for="n in 10">{{ n }} </div>
</body>
</html>
Answer the question
In order to leave comments, you need to log in
Probably because you did not specify anything in the script tag except for the included vue.js? :))
You just don't have a Vue instance))) I propose to return to the "Hello World" output, there you will see what the error is.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question