tauri-docs icon indicating copy to clipboard operation
tauri-docs copied to clipboard

[request] Initialize Plugin Project update.

Open mikoto2000 opened this issue 1 year ago • 1 comments

Question you want answered

Is Initialize Plugin Project command example valid?

Where did you look for an answer?

I try to create Tauri Plugin. so I ran npm run tauri plugin new helloworld and got the error tauri not found.

This command requires project to be created by npm create tauri-app@latest -- --beta.(install @tauri-apps/cli and add scripts in package.json)

but Normally, we don't need to create an application project.

I want to create a plugin project using npx directly.

example: npx @tauri-apps/cli plugin init --api -d . -n helloworld

Page URL

https://v2.tauri.app/develop/plugins/#initialize-plugin-project

Additional context

No response

Are you willing to work on this yourself?

  • [ ] I want to work on this myself

mikoto2000 avatar Jul 17 '24 02:07 mikoto2000

I created the plugin with this command: npx @tauri-apps/cli@next plugin new --android helloworld

mikoto2000 avatar Aug 11 '24 09:08 mikoto2000