Advertisement
Guest User

Untitled

a guest
Sep 15th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <div id="rootDiv">
  2. <div v-if="!loaded">Content from Server</div>
  3. <test-comp v-if="loaded"></test-comp><!-- do NOT shorthand, vue does swallow the rest of rootDiv then -->
  4. <test-bt><button>from Server</button></test-bt>
  5. <div v-text="vueText">Text from Server</div>
  6. </div>
  7. <br /><br />
  8. <button onclick="igniteVue()">Go, vue!</button> (normally on load)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement