How to invoke a file component in vue?

I wrote a common bottom component bottom.vue


in vue.

after looking at the official website for other forms, I did not find the reference file pattern. How to call it in this case?


if you write it in this way, you can, uh,

<template>
....
// 
<buttom :a='' @xx='' ></buttom>
// slot 
<buttom :a='' @xx='' />
</template>

by the way, comments = > components,


you need local components

clipboard.png

Menu