Guest User

Untitled

a guest
Feb 18th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <div id="app">
  2. </div>
  3. <script>
  4. Vue.component("c", {template: `<div>is c</div>`})
  5. new Vue({el: "#app"})
  6. // after init app
  7. $("#app").append(parseVueComponent(`<c></c>`))
  8. // I expect result is
  9. // <div id="app">
  10. // <div>is c</div>
  11. // </div>
  12. // how to implement parseVueComponent
  13. </script>
Add Comment
Please, Sign In to add comment