chenshuai2144 / openapi2typescript

一个被大范围使用的小工具
307 stars 136 forks source link

在vue3+typescript+vite中能使用这个插件吗 #109

Open apchenjun opened 1 year ago

yjw12345 commented 1 year ago

可以,不影响,他这个没绑定umi框架。虽然有默认值,但是可以改动一下

rookie-luochao commented 8 months ago

没问题的,可以参考我的开发环境配置和使用方法: https://github.com/rookie-luochao/create-vite-app-cli/tree/master/template-vue-ts

rookie-luochao commented 7 months ago

@request只是个路径别名,你需要在tsconfig.json和vite.config.ts里面做实际的路径映射

------------------ 原始邮件 ------------------ 发件人: "chenshuai2144/openapi2typescript" @.>; 发送时间: 2024年1月4日(星期四) 晚上6:32 @.>; @.**@.>; 主题: Re: [chenshuai2144/openapi2typescript] 在vue3+typescript+vite中能使用这个插件吗 (Issue #109)

没问题的,可以参考我的开发环境配置和使用方法: https://github.com/rookie-luochao/create-vite-app-cli/tree/master/template-vue-ts

您好 请问一下就是我按照这个源码生成代码成功了但是报了个错 Vue: Cannot find module @.' or its corresponding type declarations. import request from @.';说是这一行代码引入错误

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>