Answers for "impory component vue in your App.vue file"

8

vue import component

// With Vue 3.2 
<script setup>
import Btn from './components/Btn'
</script>

<template>
  <Btn />
</template>
Posted by: Guest on November-02-2020
0

registeing components in vue

import Sidebar from '../../components/sidebar/main.vue';
export default {
    props: [""],
    components: {
        'sidebar': Sidebar
    },
...
Posted by: Guest on January-19-2021

Code answers related to "impory component vue in your App.vue file"

Browse Popular Code Answers by Language