vite-plugin-vue-setup-extend icon indicating copy to clipboard operation
vite-plugin-vue-setup-extend copied to clipboard

Extending the vue script setup syntactic sugar

Results 12 vite-plugin-vue-setup-extend issues
Sort by recently updated
recently updated
newest added

使用了vite-plugin-vue-setup-extend之后,在.vue,defineProps的Props通过import type { Props } from './foo'导入时,出现报错Internal server error: Cannot read properties of undefined (reading 'some')

when i add this plugin my debugger can't work rightly

fix sourcemap broken

vue2 does not support defineComponent, could you support both vue3 and vue2?

Hope to be compatible with inheritAttrs by the way.

## 需求完善 - 遇到一个问题,当 script 内容为空时,调试工具不能识别出正确的 name - 开源不易,期待作者完善该功能,辛苦了。🌹🌹🌹 ![image](https://user-images.githubusercontent.com/7400870/154842455-094032c3-30d4-4bc4-af6c-1d9f6d07ee64.png) ## 调试工具版本 - VueDevTools 6.0.8 ## 项目 package.json ```json { "name": "rabbit-vue3-ts", "version": "0.0.0", "scripts": { "dev": "vite", "build": "vue-tsc...

1. If multiple script tags are used at the same time, name will be invalidated. 2. Can I support other attributes besides the name attribute? For example, inheritattrs

### 报错信息: - [vite] Internal server error: [@vue/compiler-sfc] Failed to resolve import source "./types" ### 解决方法: - SFC中,语法defineProps()报错,[@vue/compiler-sfc]的3.4.22版本已修复。更新版本后直接发包即可