我们如何才能使“comp-one”组件在本地仅对一个组件可用?
<script>
@(6) CompOne from './components/CompOne.vue';
export default {
@(10): {
'comp-one': @(7)
}
}
</script>
<script>
import CompOne from './components/CompOne.vue';
export default {
components: {
'comp-one': CompOne
}
}
</script>