try to create multiple window in tauri 2 but get 400 #9487
-
i copy this code from Guides in App.vue
get this error in console
what am i doing wrong.... |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
you should have a .json file in src-tauri/capabilities folder. Open that and there should be a Please bear with us while we're working on the docs... |
Beta Was this translation helpful? Give feedback.
-
That works, thx! |
Beta Was this translation helpful? Give feedback.
-
It didn't work again. I added relevant content, but it still reported an error: "webview.create_webview not allowed. Permissions associated with this command: webview:allow-create-webview" |
Beta Was this translation helpful? Give feedback.
you should have a .json file in src-tauri/capabilities folder. Open that and there should be a
permissions
array. Just add"webview:allow-create-webview-window"
to that and it should work.Please bear with us while we're working on the docs...