当前位置: 首页 > 知识库问答 >
问题:

javascript - <script setup lang="ts">再引入1个<script src="..."></script>,报错,请问怎么解决?

江英卓
2024-07-21

<script setup lang="ts">再引入1个<script src="..."></script>,报错,请问怎么解决?

image.png

错误提示:
ERROR <script> cannot use the "src" attribute when <script setup> is also present because they must be processed together.
image.png

共有1个答案

向锦
2024-07-21

Vue Use - useScriptTag

 类似资料: