Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div id="app">
- </div>
- <script>
- Vue.component("c", {template: `<div>is c</div>`})
- new Vue({el: "#app"})
- // after init app
- $("#app").append(parseVueComponent(`<c></c>`))
- // I expect result is
- // <div id="app">
- // <div>is c</div>
- // </div>
- // how to implement parseVueComponent
- </script>
Add Comment
Please, Sign In to add comment