我们如何将 '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>