tauri-docs
tauri-docs copied to clipboard
[request] Initialize Plugin Project update.
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
I created the plugin with this command: npx @tauri-apps/cli@next plugin new --android helloworld