9 months ago

<div id"app"> does not render with Vue

Posted 9 months ago by michaelnguyen547

i am starting to use Vue and hit a breakpoint already.

my html look like this

        <script src="https://cdn.jsdelivr.net/npm/vue"></script>

<script src="/js/vuelidate-0.7.4/vuelidate.min.js"></script>
<script src="/js/vuelidate-0.7.4/validators.min.js"></script>
// other html tags
<div id="app">
<form ...>


new Vue({
    el: '#app'

The part from <div id="app"> ... </div> does not render when I set el: '#app, I dont know why? remove the el will have the <div id="app"> section show again.

Please sign in or create an account to participate in this conversation.