Closed mikoto2000 closed 1 day ago
Is Initialize Plugin Project command example valid?
Initialize Plugin Project
I try to create Tauri Plugin. so I ran npm run tauri plugin new helloworld and got the error tauri not found.
npm run tauri plugin new helloworld
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)
npm create tauri-app@latest -- --beta
@tauri-apps/cli
scripts
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
npx @tauri-apps/cli plugin init --api -d . -n helloworld
https://v2.tauri.app/develop/plugins/#initialize-plugin-project
No response
I created the plugin with this command: npx @tauri-apps/cli@next plugin new --android helloworld
npx @tauri-apps/cli@next plugin new --android helloworld
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 errortauri not found
.This command requires project to be created by
npm create tauri-app@latest -- --beta
.(install@tauri-apps/cli
and addscripts
inpackage.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?