We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
import { clipboard } from "@tauri-apps/api"; throws an error
import { clipboard } from "@tauri-apps/api";
Module '"@tauri-apps/api"' has no exported member 'clipboard
Upon investigating, it seems like the bundle does not export the clipboard https://github.com/tauri-apps/tauri/blob/dev/tooling/api/src/bundle.ts
I expected to be able to import the clipboard
Operating System - Windows, version 10.0.19043 X64 Webview2 - 91.0.864.70 Node.js environment Node.js - 16.5.0 @tauri-apps/cli - 1.0.0-beta.6 @tauri-apps/api - 1.0.0-beta.5 Global packages npm - 7.11.2 yarn - Not installed Rust environment rustc - 1.53.0 cargo - 1.53.0 App directory structure /.git /.github /dist /node_modules /public /src /src-tauri App tauri.rs - 1.0.0-beta.5 build-type - bundle CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self' distDir - ../dist devPath - http://localhost:8080/ framework - Vue.js
The text was updated successfully, but these errors were encountered:
4f88c3f
No branches or pull requests
Describe the bug
import { clipboard } from "@tauri-apps/api";
throws an errorUpon investigating, it seems like the bundle does not export the clipboard
https://github.com/tauri-apps/tauri/blob/dev/tooling/api/src/bundle.ts
To Reproduce
import { clipboard } from "@tauri-apps/api";
Expected behavior
I expected to be able to import the clipboard
Platform and Versions (required):
The text was updated successfully, but these errors were encountered: