mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-24 17:20:51 +02:00
feat(plugins): use @tauri-apps namespace on NPM (#368)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
This commit is contained in:
committed by
GitHub
parent
caf8456864
commit
22991af9f4
@@ -1,8 +1,8 @@
|
||||
<script>
|
||||
import { writable } from "svelte/store";
|
||||
import { open } from "tauri-plugin-shell-api";
|
||||
import { appWindow, getCurrent } from "tauri-plugin-window-api";
|
||||
import * as os from "tauri-plugin-os-api";
|
||||
import { open } from "@tauri-apps/plugin-shell";
|
||||
import { appWindow, getCurrent } from "@tauri-apps/plugin-window";
|
||||
import * as os from "@tauri-apps/plugin-os";
|
||||
|
||||
import Welcome from "./views/Welcome.svelte";
|
||||
import Cli from "./views/Cli.svelte";
|
||||
@@ -20,7 +20,7 @@
|
||||
import App from "./views/App.svelte";
|
||||
|
||||
import { onMount } from "svelte";
|
||||
import { ask } from "tauri-plugin-dialog-api";
|
||||
import { ask } from "@tauri-apps/plugin-dialog";
|
||||
|
||||
if (appWindow.label !== "main") {
|
||||
appWindow.onCloseRequested(async (event) => {
|
||||
|
||||
Reference in New Issue
Block a user