Micronaut 特性

2023-03-14 16:11 更新

功能包括額外的依賴項和配置,以在您的應用程序中啟用特定功能。 Micronaut 配置文件定義了大量功能,包括 Micronaut 提供的許多配置的功能,例如數據訪問配置

$ mn create-app my-demo-app --features mongo-reactive

這會在您的應用程序中為 MongoDB Reactive Driver 添加必要的依賴項和配置。您可以使用 --list-features 標志查看您使用的任何創(chuàng)建命令的可用功能。

$ mn create-app --list-features # Output will be supported features for the create-app command
$ mn create-function-app --list-features # Output will be supported features for the create-function-app command, different from above.


以上內容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號