Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE: 开箱即用的nestjs功能 #4735

Open
3 tasks done
MZ-Dlovely opened this issue Oct 25, 2024 · 1 comment
Open
3 tasks done

FEATURE: 开箱即用的nestjs功能 #4735

MZ-Dlovely opened this issue Oct 25, 2024 · 1 comment
Labels
deferred pr welcome Welcome developers to submit Pull Requests to the project

Comments

@MZ-Dlovely
Copy link

Version

Vben Admin V5

Description

  1. @vben/vite-config: library配置中提供preset选项以接收一个字符串,或者plugins选项数组元素允许传入预置的字符串(类似于unplugin import)
  2. 目录apps: 提供nestjs + vite项目模板,有简单的jwt验证守卫和必要的请求接口
  3. 可考虑的:允许配置nestjs + vite项目使用swc打包,或配置一个更好打包配置

Proposed Solution

使用vben肯定比较注重工程化,而全栈人也常常为了工程化将前后端放在同一个monorepo中,nestjs就是个nodejs开发、适合工程化、非常常用的一个后端框架,所以我感觉nestjs完全可以配置为开箱即用

Alternatives Considered

前面很清晰明了了,改动也不会太复杂

Additional Context

No response

Validations

  • Read the docs
  • Ensure the code is up to date. (Some issues have been fixed in the latest version)
  • I have searched the existing issues and checked that my issue does not duplicate any existing issues.
@anncwb anncwb added pr welcome Welcome developers to submit Pull Requests to the project deferred and removed enhancement: pending triage labels Oct 25, 2024
@pzzyf
Copy link
Contributor

pzzyf commented Oct 25, 2024

之前一直在疑惑vite-config里面的libray给谁用的,这下懂了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deferred pr welcome Welcome developers to submit Pull Requests to the project
Projects
None yet
Development

No branches or pull requests

3 participants