Guest User

Untitled

a guest
Nov 22nd, 2017
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <template>
  2. <div id="containerPrincipal" @click.stop="teste">
  3. ...
  4. <template>
  5.  
  6. <script>
  7. /*Outro componente*/
  8. import flex_div from './elementos/Div.vue'
  9.  
  10. export default {
  11. name: 'containerPrincipal',
  12. methods : {
  13. teste () {
  14. componente = new flex_div().$mount();
  15. console.log(componente);
  16. }
  17. },
  18. components: {
  19. flex_div
  20. }
  21. }
  22. </script>
Add Comment
Please, Sign In to add comment