-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[feat] 2.0: Add plugin to lib.rs with tauri plugin add
#7696
Comments
@amrbashir we talked about this briefly on Discord a while back, do you think this is something we'd be able to get in (and if so would you be the one able to work on it)? I think this is a pretty crucial piece of DX improvement we can get in prior to 2.0 |
It is definitely on my radar but not super urgent atm and could be added at any time later if we couldn't get it before 2.0-beta. |
As long as we can try to slot it before 2.0 stable then that's fine to me. Thanks! |
* feat(cli/add): add plugin to `main.rs` closes #7696 * clippy * fix change file * adjust regex * run cargo fmt * check if already exists * typo [skip ci] --------- Co-authored-by: Lucas Nogueira <[email protected]>
Describe the problem
tauri plugin add
updatespackage.json
andCargo.toml
from what I understand, but there's one more friction point for non-Rust devs: adding the plugin initialiser to the builder inlib.rs
.tauri plugin add
should do this as part of it's logicDescribe the solution you'd like
Example flow for notification plugin:
tauri plugin add notification
package.json
andCargo.toml
(I believe this is already done today)lib.rs
on the Tauri app builder (not done today)Alternatives considered
No response
Additional context
The text was updated successfully, but these errors were encountered: