Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- <div id="containerPrincipal" @click.stop="teste">
- ...
- <template>
- <script>
- /*Outro componente*/
- import flex_div from './elementos/Div.vue'
- export default {
- name: 'containerPrincipal',
- methods : {
- teste () {
- componente = new flex_div().$mount();
- console.log(componente);
- }
- },
- components: {
- flex_div
- }
- }
- </script>
Add Comment
Please, Sign In to add comment