Multiple plugins #4275
Multiple plugins
#4275
-
|
I want to create a complete desktop application using tauri. for management for the backend I plan to group it in several plugins, such as database, security and others. my question, how to insert multiple plugins with tauri. |
Beta Was this translation helpful? Give feedback.
Answered by
FabianLars
Jun 5, 2022
Replies: 1 comment 1 reply
-
|
If you're talking about these plugins: https://tauri.studio/v1/guides/features/plugin you should be able to just call the fn main() {
tauri::Builder::default()
.plugin(my_awesome_plugin::init())
.plugin(database_plugin::init())
.plugin(some_other_plugin::init())
.run(tauri::generate_context!())
.expect("failed to run app");
} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
a3pelawi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you're talking about these plugins: https://tauri.studio/v1/guides/features/plugin you should be able to just call the
.plugin()method multiple times, like: