【发布时间】:2021-12-17 08:11:51
【问题描述】:
我想将组件用作 a 标签中的 href。 这是我的代码
<template>
<a v-bind:href="Library"> </a>
</template>
<script>
import Library from './Library';
export default {
name: "App",
components: {
Library,
},
}
</script>
<style>
</style>
很遗憾,我收到一条错误消息,提示我没有使用库组件。 有谁知道怎么做?
亲切的问候 埃米尔
【问题讨论】: