npm i unplugin-vue-setup-extend-plus Options vueSetupExtend({// Advanced mode for name, not necessarymode?:'none'|'relativeName'|Function// none: Cancel the setting of name.// e.g.// <script setup name="CustomN
After using the script setup syntax, the export needs to be processed manually. When you need to export the full amount by default, just enable this property. The usage is as follows: main.ts import{ createApp }from'vue'importautoExposefrom'unplugin-vue-setup-extend-plus/dist/client/index...
unplugin-vue-setup-extend-plus 插件在 Webpack 中的配置和使用 unplugin-vue-setup-extend-plus 是一个用于增强 Vue.js <script setup> 语法糖的插件,它支持在 <script setup> 标签中添加 name 属性,并提供了其他有用的功能,如自动暴露和继承属性控制。以下是如何在 Webpack 项目中配置和使用...
npm i unplugin-vue-setup-extend-plus Options vueSetupExtend({// Advanced mode for name, not necessarymode?:'none'|'relativeName'|Function// none: Cancel the setting of name.// e.g.// 'CustomName'// support auto exposeenableAutoExpose?:boolean}) enableAutoExpose First of all thanks...
Extending the vue script setup syntactic sugar. Contribute to chenxch/unplugin-vue-setup-extend-plus development by creating an account on GitHub.