ICode9

精准搜索请尝试: 精确搜索
  • Vue3.2 setup语法糖中组件的 name 属性如何定义2022-08-23 21:00:10

    方案一: 增加一个脚本标签 <script lang="ts"> export default { name: 'Layout' } </script> 方案二: 使用插件unplugin-vue-define-options   方案三:(推荐) 使用插件vite-plugin-vue-setup-extend 配置: //vite.config.ts import { defineConfig } from 'vite

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有